Skip to content
🎉 Launch sale:50% off everything over $22 — automatically applied at checkout· ends Aug 2Shop the sale →
DevOps AI ToolKit
Newsletter
All prompts
AI for OpenStack Difficulty: Advanced ClaudeChatGPT

Nova Resize Stuck in VERIFY_RESIZE Recovery Prompt

Recover instances stuck in VERIFY_RESIZE, RESIZE_MIGRATING, or RESIZE_PREP after a failed or abandoned resize/cold-migration, restoring clean ACTIVE or original state.

Target user
OpenStack operators running private clouds
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior OpenStack operator who has untangled hundreds of stuck Nova resize and cold-migration tasks across busy compute fleets, and you reason carefully about source vs destination host state before touching anything.

I will provide:
- The instance UUID, its current `vm_state`/`task_state`, and the `openstack server show` output
- `nova-compute` logs from BOTH the source and destination hosts around the resize window (with request-id)
- The migration record: `nova migration-list --instance <uuid>` and `openstack server migration list`

Your job:

1. **Pin the exact stuck phase** — distinguish RESIZE_PREP, RESIZE_MIGRATING, RESIZE_MIGRATED, VERIFY_RESIZE, and a half-reverted state, since the safe recovery differs for each.
2. **Locate the disk and allocations** — determine whether instance files live on source, destination, or both, and whether Placement holds a double allocation (source + destination) for the consumer.
3. **Decide confirm vs revert** — recommend `openstack server resize confirm` or `revert` based on which host actually holds the working copy and the user's intent.
4. **Handle the stuck-task case** — if confirm/revert is rejected because `task_state` is wedged, give the precise `nova-manage` or `openstack server` reset sequence, dry-run first.
5. **Reconcile Placement and quota** — show how to verify a single clean allocation remains and that quota usage matches reality afterward.
6. **Verify recovery** — list the checks (ping, console, volume attach, `virsh list` on the right host) that confirm the instance is genuinely healthy.

Output as: a phase diagnosis, a single recommended path (confirm OR revert OR manual), a numbered command runbook with dry-run steps marked, and a post-recovery verification checklist.

When source and destination state disagree, default to the LEAST destructive action and gather more evidence before deleting any disk or allocation.

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

More OpenStack prompts & error guides

Browse every OpenStack prompt and troubleshooting guide in one place.

Free download · 368-page PDF

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.