yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60706
[Bug 1656691] Re: There is no way to delete a cell mapping except via DB directly
Reviewed: https://review.openstack.org/420451
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3e04a32df4d06f79a11423c9c0a7780d065187b1
Submitter: Jenkins
Branch: master
commit 3e04a32df4d06f79a11423c9c0a7780d065187b1
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date: Sun Jan 15 16:29:33 2017 -0500
Add nova-manage cell_v2 delete_cell command
This provides a way to delete empty cell mappings which
otherwise would have to be done directly in the database.
Change-Id: I541b072638b5d50985145391e76f610417fdcaa6
Closes-Bug: #1656691
** Changed in: nova
Status: In Progress => 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/1656691
Title:
There is no way to delete a cell mapping except via DB directly
Status in OpenStack Compute (nova):
Fix Released
Bug description:
We currently provide a few ways to create cell mappings for cells v2
in nova-manage but we don't have a way to delete a cell mapping in
case there are some created erroneously.
We should provide a nova-manage cell_v2 delete_cell command which
allows deleting an empty cell mapping, it would take a cell uuid
argument. If the cell is not found by uuid we should return an error.
If the cell has mapped hosts or instances then it's not empty and we
should return an error.
Later iterations of the command might allow a --force option to delete
the host/instance mappings so that those could be moved to another
cell, but that would require some more thought.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1656691/+subscriptions
References