yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64957
[Bug 1569641] Re: server group members are not deleted on failed server create overquota
** Changed in: nova/liberty
Status: Confirmed => 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/1569641
Title:
server group members are not deleted on failed server create overquota
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) liberty series:
Fix Released
Status in OpenStack Compute (nova) mitaka series:
Fix Committed
Bug description:
When creating instances in the database in the compute API, if we fail
after creating them we attempt to delete the instances from the DB
here:
https://github.com/openstack/nova/blob/af7e83fef3bc2c005c581587e9230a4070f8feb9/nova/compute/api.py#L1033
However, if there is a failure it's ignored and we continue and just
re-raise the exception.
The instances can fail to delete because of a referential constraint
on the block device mappings created here:
https://github.com/openstack/nova/blob/af7e83fef3bc2c005c581587e9230a4070f8feb9/nova/compute/api.py#L1471
So if we don't delete those first, we can't cleanup the instances. You
can recreate this by changing CONF.quota_server_group_members=0 and
trying to boot a server into a server group.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1569641/+subscriptions
References