-
Feature
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
When a NovaCell definition is removed from Nova.CellTemplates map the removed NovaCell and each child resource needs to be automatically deleted.
- NovaConductor, NovaNoVNCProxy under the NovaCell
- MariaDBDatabase for the cell and the related DB schema
- RabbitMqCluster for the cell
- The cell related row from nova_api.cell_mappings;
- The cell related rows from the nova_api.host_mappings;
The Nova.Status.RegisteredCells can be used to detect if a cell name is removed from the CellTemplates, BUT we need to change the RegisteredCells logic a bit to put the cell name into that map right after the NovaCell is created and not just after it is fully deployed otherwise we leak partially deployed cells.
Check that is there computes still connected to this NovaCell.
It feels dangerous to delete all the DB content at NovaCell delete.