Instance(s) Fail to Delete When Host is Down/Offline

Problem

  • Instances(s) fail to delete.

  • The hypervisor associated with the affected instance(s) is offline.

  • “Unexpected API Error” message appears when attempting to delete the instance.

Environment

  • Platform9 Managed OpenStack - v3.6.0 and Higher

Cause

  • Either the hypervisor is down or removed.

  • The nova-compute service on the host is stopped.

  • Connectivity issues are present between the hypervisor and the Management Plane.

Resolution

  1. Identify the UUID of the host on which each instance resides.

# openstack server show -c OS-EXT-SRV-ATTR:host [INSTANCE_UUID]
  1. Force the compute service for the host to report as down.

  1. Delete the instance.

Last updated