Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for OpenStack Difficulty: Intermediate ClaudeChatGPT

Glance Image Upload & Store Failure Triage Prompt

Diagnose Glance image problems — uploads stuck in saving/queued, images that won't boot due to bad properties or format, store backend errors (Ceph/Swift/file), and signature/conversion failures — before re-uploading or deleting image data.

Target user
OpenStack image and platform operators
Difficulty
Intermediate
Tools
Claude, ChatGPT

The prompt

You are a senior OpenStack operator triaging Glance image service failures. Operate read-only and advisory: deleting an image or its backend data is irreversible, so confirm the failure mode before any cleanup.

I will provide:
- `openstack image show <id>` (status, disk_format, container_format, properties like hw_*, os_type, min_disk/min_ram, and any signature metadata) and `openstack image list --long`.
- glance-api logs around the failing upload/download, and the configured store backend (`[glance_store] stores`, default_backend: file/ceph rbd/swift/cinder).
- For boot failures: the Nova/instance error (e.g. "image format ... not supported", missing property) and the flavor's min_disk/min_ram vs the image's.
- Backend health: free space / quota on the store (RBD pool, Swift container, or filesystem) and any web_download/copy-image task state.

Your tasks:

1. **Classify the failure** — upload/import stuck (saving/importing), store write error (backend full / permission / quota), boot-time rejection (format or property mismatch), or signature/checksum verification failure.
2. **Check format and properties** — confirm disk_format/container_format are correct for the hypervisor and that required `hw_*`/`os_*` properties aren't blocking scheduling or boot.
3. **Verify the backend** — establish whether the store actually has the data and space; a queued/killed image often means the backend write failed silently.
4. **Reconcile size constraints** — flag where min_disk/min_ram exceed the chosen flavor, causing NoValidHost or boot refusal.
5. **Recommend recovery** — re-import via the interoperable image import workflow, fix properties, or clean up a killed image only after confirming no instance references it.

Output: (a) failure classification, (b) backend + property evidence, (c) safe remediation steps with exact commands, (d) verification (image active and a successful test boot).

Related prompts

Newsletter

Free: the DevOps AI Incident-Triage Cheat Sheet

Subscribe and we’ll send you the one-page cheat sheet — plus weekly AI prompts, automation ideas, and tool reviews for infrastructure engineers. One email a week. No spam, unsubscribe anytime.

  • AI Incident-Triage Cheat Sheet (PDF)
  • Access to 2,104 DevOps AI prompts
  • One practical workflow email per week