Unable to Deauthorize Hypervisor (Instances Still Exist)
Problem
- When attempting to disable a host, you receive an error similar to the following.
- Instances in the Clarity UI which reside on the hypervisor in question at Infrastructure > Instances are not in a standard state such as "Error," "Deleting" or "Active - Rebooting".
- The same instances do not respond to delete commands from the Clarity UI, OpenStack CLI, nor OpenStack API.
Environment
- Platform9 Managed OpenStack - All Versions
- Nova
Cause
A host with the hypervisor role cannot be removed from the OpenStack cluster when it is still hosting instances, in any state.
Resolution
- Identify any remaining instances hosted on the hypervisor in question.
- Issue the following commands to delete the remaining instances.
- Bring down the nova-compute service.
- Verify the compute service has been brought down successfully.
- At this point, you can complete the standard procedure for deauthorizing a host as described in How To Deauthorize A Host.
Was this page helpful?