Instance Task State Stuck in Deleting

Problem

  • An instance is unable be deleted (potentially with one or more volumes attached).

  • The server details show that the OS-EXT-STS:task_state field is stuck in a deleting state.

Environment

  • Platform9 Managed OpenStack - All Versions

  • Nova

  • Cinder

Cause

The pf9-ostackhost (nova-compute) service may be unresponsive and/or a previous operation failed for the instance (e.g. volume detach).

Resolution

  1. Restart the pf9-ostackhost service (which will reset the task state for any pending instances).

systemctl restart pf9-ostackhost

Last updated