commit eb19c346b5fd8c2cb10f50a32f689e88a6a79d92
Author: Chris Yeoh <email address hidden>
Date: Fri Aug 1 14:14:55 2014 +0930
Allow forceDelete to delete running instances
Currently attempting to force delete a running instance
fails while a normal delete can succeed. This changes the
behaviour of force_delete so any instance can be deleted
and not just ones which have already been soft deleted.
Also catch InstanceIsLocked exceptions at the API layer
and now also don't need to catch InstanceInvalidState
exceptions since they are no longer raised
DocImpact: forceDelete will now delete any instance and not
just ones which have already been soft deleted
Reviewed: https:/ /review. openstack. org/111157 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=eb19c346b5f d8c2cb10f50a32f 689e88a6a79d92
Committed: https:/
Submitter: Jenkins
Branch: master
commit eb19c346b5fd8c2 cb10f50a32f689e 88a6a79d92
Author: Chris Yeoh <email address hidden>
Date: Fri Aug 1 14:14:55 2014 +0930
Allow forceDelete to delete running instances
Currently attempting to force delete a running instance
fails while a normal delete can succeed. This changes the
behaviour of force_delete so any instance can be deleted
and not just ones which have already been soft deleted.
Also catch InstanceIsLocked exceptions at the API layer State
and now also don't need to catch InstanceInvalid
exceptions since they are no longer raised
DocImpact: forceDelete will now delete any instance and not
just ones which have already been soft deleted
Change-Id: I06a476701ccb47 d8f7fd6e43c394c cb3fac2b3aa
Closes-Bug: 1351001