yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51921
[Bug 1368201] Re: resize with PCI devices doesn't work
Reviewed: https://review.openstack.org/307124
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c2c3b97259258eec3c98feabde3b411b519eae6e
Submitter: Jenkins
Branch: master
commit c2c3b97259258eec3c98feabde3b411b519eae6e
Author: Moshe Levi <moshele@xxxxxxxxxxxx>
Date: Mon Apr 18 14:33:59 2016 +0300
pci: Move PCI devices and PCI requests into migration context
When resizing guest to flavor with pci passthrogth, we need to drop
the old pci devices and allocate new ones. To be able to do that we
are leveraging the migration context (that used only for NUMA).
Adds old and new PCI devices/ PCI requests into the MigrationContext
object and uses the nova.pci.request.get_pci_requests_from_flavor()
function to grab the set of requested PCI devices during a migration.
Then, in the resource tracker's _update_usage_from_migration() call, we
use the old and new PCI devices and PCI requests stored in the
MigrationContext to properly account for changes.
Closes-Bug: #1368201
Co-Authored-by: Jay Pipes <jaypipes@xxxxxxxxx>
Change-Id: Ie8690f2b7235d677ebe15fabaae81b0a6bda29de
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1368201
Title:
resize with PCI devices doesn't work
Status in OpenStack Compute (nova):
Fix Released
Bug description:
In icehouse, if an active instance without PCI passthrough devices is
resized with PCI passthrough devices being added in the new flavor,
the instance will be reported as ACTIVE after resizing, but becomes
inaccessible. Worse, the whole compute service seems to be hosed, and
killing it would cause the compute node to hang.
if an active instance with PCI passthrough devices is resized with
more PCI passthrough devices in the new flavor, the resulting PCI
devices in the instance's domain xml are more than being requested,
and the same symptoms as described above will result as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1368201/+subscriptions
References