[nova][ops] What should the compute service delete behavior be wrt resource providers with allocations?
Matt Riedemann
mriedemos at gmail.com
Thu Jun 13 17:47:58 UTC 2019
On 6/12/2019 6:26 PM, Mohammed Naser wrote:
> I would be more in favor of failing a delete if it will cause the cloud to reach
> an inconsistent state than brute-force a delete leaving you in a messy state
> where you need to login to the database to unkludge things.
I'm not sure that the cascading delete (option #2) case would leave
things in a messy state since we'd delete the stuff that we're actually
orphaning today. If we don't cascade delete for you and just let the
request fail if there are still allocations (option #1), then like I
said in a reply to zigo, there are APIs available to figure out what's
still being used on the host and then clean those up - but that's the
manual part I'm talking about since nova wouldn't be doing it for you.
--
Thanks,
Matt
More information about the openstack-discuss
mailing list