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
-
Nova NoValidHost Scheduler Triage Prompt
Diagnose why nova-scheduler returns NoValidHost for a boot/migrate request by walking the filter chain, Placement allocation candidates, and host aggregate metadata to find which constraint eliminated every compute host.
-
Placement Inventory & Allocation Reconcile Prompt
Audit and reconcile the OpenStack Placement service for resource-provider inventory drift, leaked/orphaned allocations, and incorrect allocation ratios that cause phantom 'full' hypervisors or scheduling failures.
-
Nova SR-IOV & PCI Passthrough Whitelist Debug Prompt
Diagnose why SR-IOV VFs or passthrough PCI devices fail to attach, get the wrong NUMA affinity, or never show up in Placement inventory.
-
Nova vGPU Mediated Device Flavor Design Prompt
Design Nova compute configuration and flavors for vGPU workloads using mediated (mdev) devices, mapping mdev types to Placement resource providers without stranding GPU 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.