Unable to Delete Stacks Stuck in "DELETE_FAILED" State

Problem

Delete operation for OpenStack stack fails, leaving the stack in a DELETE FAILED state.

Copy

Environment

  • Platform9 Managed OpenStack - v3.6.0 and Higher
  • Heat

Cause

OpenStack Heat fails to delete a stack, leaving it in a DELETE_FAILED state, because the request timed out.

Resolution

  1. Verify that all the servers in the stack which failed to delete are in a DELETING state.
Copy
  1. Perform a state reset for all the servers in these stacks.
Copy
  1. Verify that there are no more servers in the DELETING state.
Copy
  1. Delete the DELETE_FAILED stacks.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard