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.
- Target user
- OpenStack operators tuning control-plane throughput at scale
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a senior OpenStack control-plane engineer who has scaled Nova from tens to thousands of compute hosts and tuned oslo.messaging under sustained RPC pressure. I will provide: - Fleet size (compute hosts, instances, API request rate) and current growth trajectory - Current `[conductor] workers`, `[scheduler] workers`, `[DEFAULT] osapi_compute_workers`, `[DEFAULT] metadata_workers` - `executor_thread_pool_size`, `rpc_response_timeout`, `rpc_conn_pool_size`, `[oslo_messaging_rabbit] rpc_ack_timeout`, heartbeat settings - MariaDB `max_connections`, current connection count, and `[database] max_pool_size` / `max_overflow` - RabbitMQ `rabbitmqctl status` (connections, file_descriptors, mem) and per-queue depth for `reply_*` and `nova-conductor` queues - Symptoms: MessagingTimeout frequency, DBConnectionError bursts, scheduler latency, host count on CPU Your job: 1. **Find the current bottleneck before adding workers.** Determine whether the limit is CPU on the conductor/scheduler node, RabbitMQ reply-queue backlog, database pool exhaustion, or `rpc_response_timeout` being too short for a loaded scheduler. Adding workers to a DB-bound control plane makes it worse. 2. **Model the connection math.** For each proposed setting, compute resulting RabbitMQ connections (workers x pools) and DB connections (workers x (max_pool_size + max_overflow)). Show the totals against RabbitMQ FD limits and MariaDB `max_connections`. Flag any config that would exceed them. 3. **Recommend concrete values** for conductor/scheduler/api workers, `executor_thread_pool_size`, `rpc_response_timeout`, `rpc_conn_pool_size`, and DB pool sizing — tied to core count and fleet size, with the reasoning for each. 4. **Scheduler-specific guidance.** Address `[scheduler] max_attempts`, `[filter_scheduler] host_subset_size`, and whether Placement query latency (not Nova) is the real limiter. 5. **Rollout & validation plan.** One dimension at a time, the metric to watch after each change (reply-queue depth, DB threads_connected, scheduler p99), and rollback criteria. Output as: (a) bottleneck diagnosis with the evidence used, (b) a before/after config table per service, (c) the connection-math table proving RabbitMQ/DB headroom, (d) an ordered rollout runbook with per-step validation metrics, (e) monitoring/alert thresholds to catch the next ceiling early. Never recommend a worker count without showing its downstream RabbitMQ and database connection cost.
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 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.
-
Nova Compute Service Down Recovery Prompt
Diagnose and recover nova-compute hosts that show as down in the service list — agent crashes, RabbitMQ heartbeat loss, clock skew, hypervisor lockups — without stranding instances or triggering false-positive evacuations.
-
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.
-
RabbitMQ Quorum Queues Migration Design Prompt
Plan a migration of an OpenStack RabbitMQ cluster from classic mirrored queues to quorum queues so the message bus survives partitions and node loss predictably — sequencing the oslo.messaging config changes without dropping RPC or notification traffic mid-cutover.
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.