Activity log for bug #1749734

Date Who What changed Old value New value Message
2018-02-15 15:54:58 Surya Seetharaman bug added bug
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.
2018-02-15 17:14:37 Matt Riedemann tags nova-manage cells nova-manage
2018-02-15 17:15:00 Matt Riedemann nova: status New Incomplete
2018-02-15 17:15:03 Matt Riedemann nova: status Incomplete Confirmed
2018-02-15 17:15:05 Matt Riedemann nova: importance Undecided Medium
2018-02-21 15:13:02 OpenStack Infra nova: status Confirmed In Progress