How-To Delete Stale Hypervisor Entry
Problem
You had to rebuild a host and the re-authorization operation is failing due to an existing hypervisor entry with the same name.
Environment
- Platform9 Managed OpenStack - All Versions
- Nova
Procedure
- Identify the compute service associated with the hypervisor__hostname by running the following command.
# openstack hypervisor show pf9-test-01Compute service of c52f455c-a11e-4b24-b983-82fa293e4ccc is unavailable at this time. (HTTP 400) (Request-ID: req-cce5ac6d-6555-4f07-935c-ec3bbae49e2b)- Find the status of the compute service list and delete the service using the following commands.
x
# nova service-list | grep c52f455c-a11e-4b24-b983-82fa293e4ccc| 5aa9cd40-74ce-4ea6-a999-989d8c6b41bb | nova-compute | c52f455c-a11e-4b24-b983-82fa293e4ccc | nova | disabled | down | 2021-11-16T18:01:52.000000 | - | False |# nova service-delete 5aa9cd40-74ce-4ea6-a999-989d8c6b41bbWas this page helpful?