Public bug reported: 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. ** Affects: nova Importance: Undecided Assignee: Surya Seetharaman (tssurya) Status: New ** Tags: nova-manage -- 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/1749734 Title: Purge the compute_node records, resource provider records and host_mappings when doing force delete of the host Status in OpenStack Compute (nova): New Bug 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 manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1749734/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp