Reviewed: https://review.openstack.org/298997 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=27e869bb88f13d05b94107a769f67ddd6975425d Submitter: Jenkins Branch: master
commit 27e869bb88f13d05b94107a769f67ddd6975425d Author: Diana Clarke <diana.joan.cla...@gmail.com> Date: Tue Mar 29 17:48:33 2016 -0400 Fix: unable to delete instance when cinder is down Ignore any cinder related exceptions that arise when you try to delete an instance, so that the delete instance workflow isn't abruptly interrupted (skipping necessary clean-up, etc). In this case, we are intentionally catching all exceptions in addition to a specific set of exceptions, so that the instance and related resources aren't left in an unmanageable state when an unexpected exception occurs. For example, currently you can't delete an instance that's attached to a volume when cinder is down. The existing error messages were also updated to include the block device mapping volume id that triggered the exception. Change-Id: Iba7b4cc4b59f88b0817c4618e7a4429161d6c2a9 Closes-Bug: #1563547 ** 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/1563547 Title: Unable to delete instance when cinder is down Status in OpenStack Compute (nova): Fix Released Bug description: When an instance is attached to a volume and cinder is down, you are unable to delete the instance, and the instance status is ERROR. This bug is reproducible on master (currently newton) using devstack. 1. Create an instance 2. Create a volume 3. Attach volume to instance 4. Bring the cinder api down via screen 5. Attempt to delete the instance 6. Note that the instance is not deleted 7. Note that the instance state is ERROR For example: http://paste.openstack.org/show/492359/ This bug was initially reported downstream here: https://bugzilla.redhat.com/show_bug.cgi?id=1318883 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1563547/+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