2018-02-15 16:03:39 |
Surya Seetharaman |
description |
The nova-manage cell_v2 delete_cell --force option currently only removes the host_mappings of empty hosts before deleting the cell. This has to be extended to deleting the nova.compute_nodes record and nova_api.resource_providers along with the host_mappings for those hosts which have no living instances.
The nova-manage cell_v2 delete_host needs to have a new option --force by which when a host is deleted forcefully, if it has no living instances then again its nova.compute_node record and nova_api.resource_provider along with its host_mapping should be removed.
To address the scenario where placement maybe down, and the administrator does not then want to remove records from placement, we need to introduce a "--no-placement" flag for both these commands. |
The nova-manage cell_v2 delete_cell --force option currently only removes the host_mappings of empty hosts before deleting the cell. This has to be extended to deleting the nova.compute_nodes record and nova_api.resource_providers along with the host_mappings for those hosts which have no living instances.
The nova-manage cell_v2 delete_host needs to have a new option --force by which when a host is deleted forcefully, if it has no living instances then again its nova.compute_node record and nova_api.resource_provider along with its host_mapping should be removed. |
|