There is no way to delete a cell mapping except via DB directly
Bug #1656691 reported by
Matt Riedemann
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann |
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.
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
To post a comment you must log in.
Related fix proposed to branch: master /review. openstack. org/420449
Review: https:/