Unable to Deauthorize Hypervisor (Instances Still Exist)

Problem

  • When attempting to disable a host, you receive an error similar to the following.
Copy
  • 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

  1. Identify any remaining instances hosted on the hypervisor in question.
Copy
  1. Issue the following commands to delete the remaining instances.
Copy
  1. Bring down the nova-compute service.
Copy
  1. Verify the compute service has been brought down successfully.
Copy
  1. At this point, you can complete the standard procedure for deauthorizing a host as described in How To Deauthorize A Host.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard