← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155152] Re: Instances deleted during migration cause exception in _destroy_evacuated_instances

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  Instances deleted during migration cause exception in
  _destroy_evacuated_instances

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  There's a condition in instance migration + deletion, which I cannot
  define properly at the moment, but it results in the following state:

  - instance host is already changed to the new host
  - instance is still visible in the driver of the old host
  - on nova-compute restart on the old host _destroy_evacuated_instances() fails at the _get_instance_nw_info() step with exception "InstanceNotFound: Instance c04a5ef9-e908-470b-9e49-0107d6327829 could not be found." from the network manager

  There should be two fixes here really:

  1. make _destroy_evacuated_instances() more robust so it doesn't crash the whole nova-compute in such case
  2. find out how that state was created and stop it from occurring

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