Skip to content

Automation API error reference

Reference · Updated Sep 2026

Coming from another cloud?

▸AWS·Cloudformation Errors

This Quake AI feature maps to AWS’s Cloudformation Errors.

▸Azure·ARM Errors

This Quake AI feature maps to Azure’s ARM Errors.

Automation API error reference

This page documents common error responses from the Automation API (OpenStack Heat), explains what they mean operationally, and provides next-step actions. Use this reference when a stack operation fails or a stack enters a failed state.

HTTP status codes#

StatusMeaningTypical causeRetryable?Next action
400 Bad RequestTemplate or request body is invalidYAML/JSON syntax error, missing required parameter, invalid resource typeNoValidate template: openstack orchestration template validate --template TEMPLATE_FILE
401 UnauthorizedAuthentication failedExpired token, missing X-Auth-Token headerNoRe-issue your token: openstack token issue
404 Not FoundStack or resource does not existWrong stack name/ID, stack already deletedNoList stacks: openstack stack list
409 ConflictOperation conflicts with current stack stateStack is already being updated or deletedConditionalWait for the in-progress operation to complete, then retry
413 Over LimitQuota exceededResource quota reached for nested resources (instances, volumes, networks)NoCheck quota: openstack quota show --usage. See quota troubleshooting
429 Too Many RequestsAPI rate limit exceededToo many requests in a short time window (gateway-enforced)YesWait and retry with exponential backoff
500 Internal Server ErrorServer-side failureHeat engine error, dependency resolution failureYesRetry after a brief delay. If persistent, escalate to support
503 Service UnavailableService temporarily overloadedMaintenance or capacity issueYesRetry with exponential backoff

Stack state machine#

Heat stacks transition through well-defined states during create, update, and delete operations. Failed states include a stack_status_reason field that explains what went wrong.

State transitions#

OperationIn progressSuccessFailure
CreateCREATE_IN_PROGRESSCREATE_COMPLETECREATE_FAILED
UpdateUPDATE_IN_PROGRESSUPDATE_COMPLETEUPDATE_FAILED
DeleteDELETE_IN_PROGRESSDELETE_COMPLETEDELETE_FAILED
RollbackROLLBACK_IN_PROGRESSROLLBACK_COMPLETEROLLBACK_FAILED
CheckCHECK_IN_PROGRESSCHECK_COMPLETECHECK_FAILED
SuspendSUSPEND_IN_PROGRESSSUSPEND_COMPLETESUSPEND_FAILED
ResumeRESUME_IN_PROGRESSRESUME_COMPLETERESUME_FAILED

Checking stack status#

bash
openstack stack show YOUR_STACK -c stack_status -c stack_status_reason

The stack_status_reason field is the primary diagnostic artifact for failed stacks; include it in support tickets.

Inspecting stack events#

Stack events show the chronological record of every resource operation. When a stack fails, the events reveal which resource failed first.

bash
openstack stack event list YOUR_STACK --nested-depth 2

Filter for failures:

bash
openstack stack event list YOUR_STACK | grep FAILED

Common stack creation failures#

Failurestack_status_reason patternResolution
Template validation error"Property error: ... Value '...' is not an allowed value"Fix the template parameter. Run openstack orchestration template validate --template TEMPLATE_FILE before creating.
Missing required parameter"The Parameter (...) was not provided"Supply all required parameters: openstack stack create -t template.yaml -e env.yaml --parameter key=value ...
Resource dependency failure"Resource CREATE failed: ... ResourceNotFound"A resource referenced by the template (image, flavor, network, key pair) does not exist. Verify resource IDs.
Quota exhaustion"Resource CREATE failed: ... Quota exceeded"Free resources or request a quota increase. See quota troubleshooting.
Timeout"Create timed out (stack_timeout ..."The stack took longer than the timeout. Increase --timeout or simplify the template.
Circular dependency"Circular Dependency Found"Remove the circular reference between resources in your template.
Unsupported resource type"Unknown resource type: ..."Check available resource types: openstack orchestration resource type list. The type may require a service that is not enabled.
Nested stack failure"Resource CREATE failed: ... CREATE_FAILED"Check the nested stack's events: openstack stack event list NESTED_STACK_NAME.

Stack update errors#

Stack updates follow the same state machine as creation but have additional failure modes.

FailureCauseResolution
Immutable property changeThe template modifies a property that requires resource replacement (e.g., changing an instance flavor without update_policy)Heat will attempt to replace the resource. If replacement fails, the stack rolls back.
Update in progressA previous update has not completedWait for the current operation to finish: openstack stack show YOUR_STACK -c stack_status
Rollback failedThe update failed and the rollback also failed, leaving the stack in ROLLBACK_FAILEDInspect events to identify the stuck resource. You may need to manually fix the resource state or abandon the stack.

Recovering from ROLLBACK_FAILED#

bash
openstack stack event list YOUR_STACK | grep FAILED

openstack stack resource list YOUR_STACK | grep FAILED

If a specific resource is stuck, you can mark it for replacement on the next update:

bash
openstack stack update YOUR_STACK -t template.yaml --existing \
  --clear-parameter BAD_PARAM

Stack abandon is disabled on Quake AI (openstack stack abandon YOUR_STACK returns ERROR: Stack Abandon is not supported.). To clear a stack whose normal delete fails, delete the underlying resources individually with the relevant openstack <service> delete commands, then drop the Heat record:

bash
openstack stack delete --yes YOUR_STACK

Stack delete errors#

FailureCauseResolution
DELETE_FAILED on a resourceThe resource has dependencies that prevent deletion (volume with snapshots, network with active ports)Resolve the dependency, then retry: openstack stack delete YOUR_STACK
Stack stuck in DELETE_IN_PROGRESSA resource deletion is taking longer than expectedWait. If the stack remains stuck for more than 15 minutes, check individual resource status.

When to escalate#

Escalate to support when:

  • A stack is stuck in *_IN_PROGRESS for more than 30 minutes with no new events
  • ROLLBACK_FAILED cannot be resolved by fixing the identified resource
  • A 500 error persists on stack operations after multiple retries
  • Stack events reference internal errors you cannot interpret

Escalation-ready evidence checklist#

ItemCommand
Stack ID, name, and statusopenstack stack show YOUR_STACK -c id -c stack_name -c stack_status -c stack_status_reason
Stack events (last 20)openstack stack event list YOUR_STACK --sort-key event_time:desc --limit 20
Failed resource detailsopenstack stack resource show YOUR_STACK RESOURCE_NAME
Template (if shareable)openstack stack template show YOUR_STACK
Quota usageopenstack quota show --usage
Token validityopenstack token issue

See also#

Quick answers

Was this page helpful?