Bug 1393561 - Fix for bz 1389284 breaks migrations
Summary: Fix for bz 1389284 breaks migrations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: async
: 9.0 (Mitaka)
Assignee: Artom Lifshitz
QA Contact: Gabriel Szasz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 21:06 UTC by Artom Lifshitz
Modified: 2019-09-09 14:10 UTC (History)
14 users (show)

Fixed In Version: openstack-nova-13.1.2-8.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-21 16:38:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2992 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-12-21 21:34:25 UTC

Description Artom Lifshitz 2016-11-09 21:06:02 UTC
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/

Comment 1 Artom Lifshitz 2016-11-10 01:01:45 UTC
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/

Comment 12 errata-xmlrpc 2016-12-21 16:38:22 UTC
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


Note You need to log in before you can comment on or make changes to this bug.