yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46602
[Bug 1389899] Re: nova delete shouldn't remove instance from DB if host is not up
I think this is not an API construct we should support. If a user wants
to delete their vm, they should always be able to.
** Changed in: nova
Status: Confirmed => Won't Fix
--
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/1389899
Title:
nova delete shouldn't remove instance from DB if host is not up
Status in OpenStack Compute (nova):
Won't Fix
Bug description:
Under nova/compute/api.py, it will delete instance from DB if compute
node is not up. I think we should utilize force-delete to handle
compute node is not up scenario. So, if compute node is not up, only
force-delete can delete the instance.
Code flow:
delete -> _delete_instance -> _delete
_delete(...) code snippet:
..
if not is_up:
# If compute node isn't up, just delete from DB
self._local_delete(context, instance, bdms, delete_type, cb)
quotas.commit()
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1389899/+subscriptions
References