Instance lifecycle troubleshooting
Coming from another cloud?
▸AWS·EC2 Lifecycle
This Quake AI feature maps to AWS’s EC2 Lifecycle.
▸DigitalOcean·Droplet Lifecycle
This Quake AI feature maps to DigitalOcean’s Droplet Lifecycle.
Instance lifecycle troubleshooting
This runbook covers provisioning failures on Quake AI: instances stuck in BUILD, instances that end in ERROR, and create operations blocked by quota limits on the Compute service (OpenStack Nova).
Quick triage#
| Symptom | Most likely cause | Jump to |
|---|---|---|
| Status stays BUILD and never becomes ACTIVE or ERROR | Scheduling or messaging failure, volume or network setup timeout during build | Instance stuck in BUILD state |
Status moves BUILD → ERROR; fault is populated | Scheduler placement failure, Block Storage (Cinder) timeout, port binding failure, or repeated build retries | Instance in ERROR state after launch |
HTTP 403 or message Quota exceeded for compute_units, ram: … | Project quota exhausted (instances, vCPUs, RAM, volumes, floating IPs, etc.) | Quota exceeded errors |
Instance stuck in BUILD state#
Symptoms#
- Instance status shows BUILD indefinitely and never reaches ACTIVE (running) or ERROR.
Diagnosis#
Root causes include scheduling failure (no host with sufficient resources), messaging failure between services, volume creation timeout when you boot from a volume, or networking setup failure during the build.
Wait at least five minutes; some builds are slow under load. Inspect the fault field:
openstack server show YOUR_INSTANCE_NAME -c faultIf fault stays empty and status remains BUILD after about 10 minutes, treat the build as stuck. Check project quota headroom:
openstack quota showIf you boot from a volume, confirm the volume is available before launch and still healthy:
openstack volume listResolution#
- Wait five minutes before you change anything.
- Run
openstack server show YOUR_INSTANCE_NAME -c faultand note any message. - If there is still no fault after 10 minutes in BUILD, delete the instance and retry creation.
- Retry with a different or smaller flavor (
YOUR_FLAVOR) to rule out scheduler resource constraints. - If quota is tight, free capacity or request an increase before you retry.
Verification#
openstack server show YOUR_INSTANCE_NAME -c status -c addresses -c faultAfter a successful retry, status should be ACTIVE and fault empty.
Prevention#
- Check quota before batch or large launches.
- Use smaller flavors for iterative tests.
- When booting from a volume, wait until the volume is available before you create the instance.
When to escalate#
If the instance remains in BUILD for more than 15 minutes with an empty fault, the problem is likely platform-side on Quake AI. Open a support ticket with the instance ID and the UTC timestamp when creation started.
Instance in ERROR state after launch#
Symptoms (instance in ERROR state after launch)#
- Instance transitions from BUILD to ERROR.
- A fault message appears when you inspect the server record.
Diagnosis (instance in ERROR state after launch)#
Read the fault:
openstack server show YOUR_INSTANCE_NAME -c faultCommon messages and what they mean:
| Fault message (excerpt) | Layer |
|---|---|
No valid host was found | Nova’s scheduler cannot place the instance on any hypervisor. |
Build of instance aborted: Volume did not finish being created | Block Storage (Cinder) did not finish in time (typical with boot-from-volume). |
Exceeded maximum number of retries | The build pipeline gave up after repeated failures. |
PortBindingFailed | Network (Neutron) cannot bind the port to the dataplane. |
Resolution (instance in ERROR state after launch)#
- Start from the full
faulttext fromopenstack server show YOUR_INSTANCE_NAME -c fault. - No valid host: Try a smaller flavor, run
openstack quota show(andopenstack quota show --usage), wait and retry if the region is busy, then delete the ERROR instance and recreate. - Volume did not finish / Cinder timeout: Check volume status with
openstack volume list, delete orphaned or failed volumes where safe, and retry; for a faster path, boot from an image instead of a volume. - PortBindingFailed: Verify the network and subnet exist, are attached to your project, and match what you passed at create time; confirm the instance can reach the intended network path (see Instance connectivity troubleshooting).
- Delete the ERROR instance after you address the cause, then create a new instance.
Verification (instance in ERROR state after launch)#
openstack server show YOUR_INSTANCE_NAME -c status -c faultAfter recreation, status should be ACTIVE and fault empty.
Prevention (instance in ERROR state after launch)#
- Run
openstack quota showoropenstack quota show --usagebefore launch. - Confirm your chosen flavor is appropriate with
openstack flavor list. - Prefer image-based boot unless you require boot-from-volume.
When to escalate (instance in ERROR state after launch)#
If No valid host appears for every reasonable flavor you try, the region may be capacity-constrained. Open a support ticket with the full fault text, flavor names or IDs, and UTC timestamps.
Quota exceeded errors#
Symptoms (quota exceeded errors)#
- The API returns HTTP 403 or a message such as
Quota exceeded for compute_units, ram: Requested ..., but already used ... of ... (HTTP 403)(your resource list may differ). On Quake AI,compute_unitsis a Quake AI-specific quota dimension that can bind beforecoresorram. - Create operations fail for instances, cores, RAM, volumes, floating IPs, or other project-scoped resources.
Diagnosis (quota exceeded errors)#
Project quotas cap instances, vCPUs, RAM, volumes, storage, floating IPs, security groups, and related resources. Compare limits to current use:
openstack quota show --usageIdentify which resource shows usage at or above its limit.
Resolution (quota exceeded errors)#
- Run
openstack quota show --usage. - Note which resource is exhausted (instances, cores, RAM, volumes, gigabytes, floating IPs, etc.).
- Delete unused instances.
- Release unused floating IPs.
- Delete unused volumes and snapshots where safe.
- If cleanup does not restore enough headroom, request a quota increase through support.
Verification (quota exceeded errors)#
openstack quota show --usageRetry the operation that failed.
Prevention (quota exceeded errors)#
- Review quota periodically, especially after test campaigns.
- Tear down dev and test resources after use.
- Run
openstack quota show --usageas a preflight check before large changes.
When to escalate (Quota exceeded errors)#
Default quotas follow your plan tier. If you need more capacity than cleanup provides, open a structured quota increase request with your target limits and use case.
Collecting evidence for support tickets#
Gather this before you open a ticket:
| Evidence | Command or note |
|---|---|
| Instance ID, status, fault | openstack server show YOUR_INSTANCE_NAME -c id -c status -c fault |
| Console log (last lines) | openstack console log show YOUR_INSTANCE_NAME --lines 50 |
| Quota usage | openstack quota show --usage |
| Volumes (if boot-from-volume) | openstack volume list |
| UTC timestamp | When creation started or when the failure occurred |
See also#
- Compute API error reference: HTTP status codes, fault messages, and state-conflict handling
- Instance connectivity troubleshooting
- Quota and limits
- Support ticket evidence
Usage Guidelines
The sample code, software libraries, command line tools, proofs of concept, templates, and other related technology on this page (including any of the foregoing that is provided by Quake AI personnel) is provided to you as Quake AI Content under the Quake AI Customer Agreement, or the relevant written agreement between you and Quake AI (whichever applies). Do not use this Quake AI Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the Quake AI Content (such as sample code) as appropriate for production grade use based on your specific quality control practices and standards. Deploying Quake AI Content may incur Quake AI charges for creating or using Quake AI chargeable resources, such as running Compute instances or storing data in Object Storage. Your use is also subject to the Acceptable Use Policy.
For the full policy, see Usage Guidelines.
Last validated: 04.06.2026
Quick answers
- Why does `openstack image save` write a 0-byte file for my boot-from-volume instance?CLI
- Why does `openstack server create` fail with "Only volume-backed servers are allowed for flavors with zero disk"?CLIAPITerraform
- Why does my project still have a 10 GiB Cinder volume after I deleted my instance?CLIAPI