Public bug reported: The cells v2-specific local delete path in the compute API is handling an InstanceNotFound when instance.destroy() fails, but doesn't return from the _delete() method:
https://github.com/openstack/nova/blob/caee532ff82d618fb30ace84a4cd0d7b1d1faa96/nova/compute/api.py#L1889 It just continues to the rest of the delete code, which is pointless since we already know the instance is gone. ** Affects: nova Importance: Medium Assignee: Matt Riedemann (mriedem) Status: In Progress ** Affects: nova/ocata Importance: Undecided Status: New ** Tags: api cellsv2 ** Also affects: nova/ocata 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/1680211 Title: InstanceNotFound during local delete in API does not short-circuit Status in OpenStack Compute (nova): In Progress Status in OpenStack Compute (nova) ocata series: New Bug description: The cells v2-specific local delete path in the compute API is handling an InstanceNotFound when instance.destroy() fails, but doesn't return from the _delete() method: https://github.com/openstack/nova/blob/caee532ff82d618fb30ace84a4cd0d7b1d1faa96/nova/compute/api.py#L1889 It just continues to the rest of the delete code, which is pointless since we already know the instance is gone. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1680211/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp