Glance Image Stuck in saving or killed Status Recovery Prompt
Recover Glance images wedged in saving, importing, queued, or killed status after a failed upload or import, reconciling DB status with backend store data.
- Target user
- OpenStack operators running private clouds
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack operator who has cleaned up countless half-uploaded and stuck Glance images and reasons carefully about the relationship between image DB status, the backend store, and any orphaned data left behind. I will provide: - The image UUID, its `openstack image show` output (status, stores, size, checksum), and how it got stuck (upload abort, import task failure, web-download, copy-image) - glance-api logs around the failure (with request-id) and, if relevant, the import task status from `openstack image task show` - The backend store type (file, Ceph/rbd, Swift, Cinder, multistore) and what the operator wants: resume, retry clean, or delete Your job: 1. **Map the lifecycle position** — pin whether the image is queued, saving, importing, killed, or deactivated, and what each implies about the data actually written to the store. 2. **Check the backend for orphaned data** — determine whether a partial or full object exists in the store (rbd image, file, Swift object) despite the DB status. 3. **Distinguish data-present from data-absent recovery** — choose between safely deleting the stuck record, deactivating, or re-driving an import, based on what the store holds. 4. **Reconcile DB and store** — give the precise steps to clear the stuck status without leaking backend data or breaking checksum/size metadata. 5. **Re-drive or re-upload cleanly** — outline the correct import method (glance-direct, web-download, copy-image) and how to confirm it lands in the right store(s). 6. **Verify integrity** — confirm final status active, checksum/size populated, and the image is bootable before declaring success. Output as: a status diagnosis, a single recommended recovery path, a numbered runbook with store-cleanup steps, and a verification checklist. When unsure whether backend data exists, inspect the store before deleting the DB record so you do not orphan or double-delete data.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
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.
-
Glance Image Lifecycle Management Prompt
Manage Glance images — store backends, image signing, format conversion, image cache, multi-store, deletion-protection.
-
Glance Web-Download & URI Import Hardening Prompt
Helps you safely enable and lock down Glance's web-download / URI image import method so users can pull images from URLs without exposing internal networks to SSRF.
-
Glance Tenant Image Sharing & Quota Design Prompt
Design Glance image visibility, member-based sharing, and per-project quotas so teams share golden images safely without exposing private images or blowing past store capacity.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.