Comment 2 for bug 1646255

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like it fails here:

https://github.com/openstack/nova/blob/13.1.2/nova/api/openstack/compute/hypervisors.py#L98

Which means the service record is deleted, but the compute_node record isn't.

I'm not sure what deletes the compute node record in the database. The resource tracker running in the nova-compute service itself on the host creates the compute node record, but would have to dig into what destroys it.

Is the nova-compute service still running on the host because I think even if you deleted it, if the service is still running it will automatically recreate the compute node record in the update_available_resource periodic task on the compute.