Nova Cells v2 Scaling & Architecture Prompt
Design and operate Nova Cells v2 for large OpenStack clouds — cell sizing, message-queue and DB partitioning, scheduler/conductor placement, and debugging cross-cell instance issues.
- Target user
- OpenStack architects scaling Nova past a single control plane
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack compute architect who has split monolithic Nova deployments into Cells v2 to scale past tens of thousands of instances without the message queue or DB falling over. I will provide: - Current scale (compute count, instances, build rate) and pain points - Existing topology (single cell? cell0 only? RabbitMQ and DB layout) - Nova service placement (api, scheduler, conductor, compute) - Symptoms (slow scheduling, RabbitMQ saturation, DB contention, listing timeouts) Your job: 1. **Cells v2 model** — explain cell0 (failed-build graveyard), the API DB vs cell DBs, the super-conductor vs cell-conductor split, and that every modern Nova is already Cells v2 with at least one real cell. Clarify what data lives where (instance_mappings, host_mappings in API DB). 2. **When to add cells** — the real triggers: RabbitMQ message-rate saturation, cell DB write contention, and blast-radius isolation. Give rough sizing (computes per cell) and why uniform cell sizing simplifies ops. 3. **Per-cell infrastructure** — each cell gets its own RabbitMQ and DB (the whole point); show `nova-manage cell_v2 create_cell` with `--transport-url` and `--database_connection`, then `discover_hosts` to map computes. 4. **Service placement** — super-conductor and scheduler at the top (they read Placement, not per-cell), cell-conductors and computes per cell; explain why the scheduler picks a host then routes the build to that cell's conductor. 5. **Cross-cell pain** — instance listing fan-out latency (down/slow cell makes `server list` hang — tune `list_records_by_skipping_down_cells`), cross-cell resize/migration caveats, and quota accounting across cells. 6. **Anti-patterns** — one giant cell, shared RabbitMQ across cells (defeats the purpose), forgetting `discover_hosts` (new computes invisible), and no cell0. 7. **Validation** — `nova-manage cell_v2 list_cells`, a build-routing trace by request-id, and a down-cell list-timeout drill. Output as: (a) target cell topology diagram, (b) cell-create + host-discovery commands, (c) RabbitMQ/DB partitioning plan, (d) cross-cell caveat checklist, (e) a phased migration plan from single-cell. Bias toward: uniform cells, isolated per-cell MQ/DB, graceful down-cell behavior, request-id traceability.
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 Conductor & RPC Worker Scaling Tuning Prompt
Right-size nova-conductor, scheduler, and API workers plus oslo.messaging RPC pools so the control plane stops timing out under fleet growth — without over-provisioning RabbitMQ connections or starving the database pool.
-
Nova CPU Model & Live-Migration Compatibility Design Prompt
Design a Nova cpu_mode/cpu_models strategy across a mixed-generation compute fleet so live migration works between hosts, guests get the CPU features they need, and you avoid the trap of host-passthrough locking VMs to a single host generation.
-
Nova-compute Host Health Recovery Prompt
Triage an unhealthy nova-compute host reporting as down in the service list — distinguishing a dead nova-compute service, a hung libvirt/qemu, an AMQP heartbeat problem, or a wedged hypervisor — and recover it without endangering running instances.
-
Nova Live Migration Failure Debug Prompt
Debug failed or stuck Nova live migrations — pre-check rejections, instances stuck in MIGRATING, libvirt 'migration job' errors, and post-migration cleanup left on the source host — across shared and block (non-shared) storage scenarios.
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.