yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13322
[Bug 1233916] Re: Deleting an instance doesn't check task_state properly
*** This bug is a duplicate of bug 1143659 ***
https://bugs.launchpad.net/bugs/1143659
** This bug has been marked a duplicate of bug 1143659
Deleting instance during snapshot leaves snapshot state in saving
--
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/1233916
Title:
Deleting an instance doesn't check task_state properly
Status in OpenStack Compute (Nova):
Confirmed
Bug description:
Issuing a delete on an instance with any task_state other than None
should either fail, or do cleanup as required. For example, when
taking a snapshot of an instance, task_state goes to image_snapshot,
but during the snapshot you can issue a delete on the instance, and
task_state goes to deleting as the resources are removed. If you do
it quickly, while the snapshot is running, it ends up deleting the
backing disk before the snapshot is complete and the snapshot just
hangs in SAVING status. I also saw state transition go image_snapshot
-> image_pending_upload -> deleting and the snapshot hung in SAVING in
that case as well.
Steps to reproduce:
1. Create instance
2. Create snapshot
3. Delete instance while snapshot is running
4. Hung snapshot
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1233916/+subscriptions