← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1543123] [NEW] PCI device not freed on failed migration

 

Public bug reported:

But found in latest master.

It has been observed that a failed cold migration for an instance with
PCI devices cause those PCI devices to not be freed (still in used) by
the PciDevTracker.

The audit task (ResourceTracker.update_available_resource) gets the list
of in progress migration (from
migration_get_in_progress_by_host_and_node) and attempt to clean the
allocation of PCI devices (PciDevTracker.clean_usage).  In this case PCI
devices that are not part of any migration are freed up and put back in
the pool of available PCI devices.

The problem is that migration_get_in_progress_by_host_and_node only
filters out migration in state ['confirmed', 'reverted', 'error'].
Migration is state 'failed' are reported as in progress.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1543123

Title:
  PCI device not freed on failed migration

Status in OpenStack Compute (nova):
  New

Bug description:
  But found in latest master.

  It has been observed that a failed cold migration for an instance with
  PCI devices cause those PCI devices to not be freed (still in used) by
  the PciDevTracker.

  The audit task (ResourceTracker.update_available_resource) gets the
  list of in progress migration (from
  migration_get_in_progress_by_host_and_node) and attempt to clean the
  allocation of PCI devices (PciDevTracker.clean_usage).  In this case
  PCI devices that are not part of any migration are freed up and put
  back in the pool of available PCI devices.

  The problem is that migration_get_in_progress_by_host_and_node only
  filters out migration in state ['confirmed', 'reverted', 'error'].
  Migration is state 'failed' are reported as in progress.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1543123/+subscriptions


Follow ups