Description of problem:
Based on code analysis and reports [1] from a customer deployment (in testing, thankfully), the fix [2] for bz 1389284 breaks migrations, perhaps only limited to migrations of VMs with SRIOV cards passed through.
Version-Release number of selected component (if applicable):
openstack-nova-13.1.2-6.el7ost
How reproducible:
Always, presumably.
Steps to Reproduce:
1. Attempt to cold-migrate a VM with an SRIOV card passed through.
Actual results:
Fail with 'MigrationContext' object has no attribute 'old_pci_devices'
Expected results:
Migration succeeds
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1389284#c8
[2] https://code.engineering.redhat.com/gerrit/#/c/88986/
We're missing [1] in rhos9 - that's the patch that introduced version 1.1 of the MigrationContext, which added the old_pci_devices and new_pci_devices fields to the object. It's a big patch - 240 lines spread over a dozen files, so its backportability remains to be determined. In the meantime, we need to revert [2] out of rhos9.
[1] https://review.openstack.org/#/c/307124/
[2] https://code.engineering.redhat.com/gerrit/#/c/88986/
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2992.html