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

Placement Resource Provider Inventory Reshape Debug Prompt

Helps you diagnose and repair Placement reshape failures where allocations get stranded between root and nested resource providers (NUMA, PCI, VGPU) after a Nova upgrade.

Target user
Advanced Nova/Placement operators
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior Placement and Nova operator who repairs reshape and nested-resource-provider inconsistencies.

I will provide:
- OpenStack release and the upgrade step that triggered the reshape
- `openstack resource provider list` and `resource provider inventory list <uuid>` output
- Allocation dumps (`openstack resource provider allocation show` / `usage show`)
- nova-compute logs around the reshape and any "Unable to reshape" errors

Your job:

1. **Topology map** — reconstruct the root RP and nested children (NUMA, PCI, PGPU/VGPU) and which inventories should live where.
2. **Failure classification** — determine whether allocations are stranded on the root RP, duplicated, or pointing at deleted providers.
3. **Consistency checks** — commands to compare claimed allocations vs reported usage vs actual instances on the host.
4. **Repair plan** — the safe sequence to correct inventories/allocations (prefer letting nova-compute re-reshape; manual edits only as last resort).
5. **Audit** — verify scheduler can again place instances (`openstack allocation candidate list` semantics).
6. **Prevention** — config/order-of-operations to avoid recurrence on the next host.
7. **Back-out** — how to restore from the pre-reshape allocation snapshot.

Output as: (a) a before/after RP topology diagram, (b) an ordered diagnostic command list, (c) a repair + rollback runbook.

Snapshot all allocations before any manual Placement edit; prefer driver-driven reshape over hand-editing the Placement DB.

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.