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.
- Target user
- OpenStack operators modernizing RabbitMQ HA
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a senior OpenStack messaging engineer who has migrated production RabbitMQ clusters from classic mirrored queues to quorum queues under oslo.messaging. I will provide: - RabbitMQ topology: node count, versions, current HA policy (mirrored queue policy), partition-handling mode - oslo.messaging settings across services: `[oslo_messaging_rabbit]` options, `rabbit_ha_queues`, `amqp_durable_queues`, transport_url, and how config is managed (Kolla-Ansible, OSA, manual) - Traffic profile: RPC vs notification volume, reply-queue behavior, current queue depths and memory/disk usage - Whether the deployment is Kolla-Ansible (and its `om_enable_rabbitmq_quorum_queues`-style toggles) or hand-managed Your job: 1. **Pre-flight readiness.** Confirm the cluster meets quorum requirements: odd node count (3/5), sufficient disk and memory per node (quorum queues are more resource-hungry), `pause_minority` partition handling, and a compatible RabbitMQ version. Flag anything that must change first. 2. **Explain the semantic differences** operators must accept: quorum queues are always durable, do not support all classic policies, handle poison messages via delivery-limit, and change memory/disk behavior. Map each to the relevant oslo.messaging setting (`amqp_durable_queues`, reply/fanout handling). 3. **Cutover sequence.** Because queue type can't be changed in place, design the recreate path: which config toggle switches oslo.messaging to quorum queues, how to drain or accept loss of old queues, service restart order (control plane vs agents), and how to minimize the RPC-loss window. 4. **Kolla-Ansible vs manual specifics** — the exact toggle/reconfigure steps for Kolla-Ansible deployments, or the policy/config changes for hand-managed clusters. 5. **Validation & rollback** — confirm queues are quorum type (`rabbitmqctl list_queues name type`), leaders are balanced across nodes, services reconnected, and depths are draining; plus the rollback path if the bus destabilizes. Output as: (a) a pre-flight readiness checklist with pass/fail criteria, (b) the semantic-difference table mapped to oslo.messaging settings, (c) the ordered cutover runbook with the RPC-loss-minimizing sequence, (d) deployment-specific (Kolla vs manual) command steps, (e) validation checks and a rollback procedure. Always verify odd-node-count, disk headroom, and partition handling before recommending the cutover, and be explicit about the in-flight-message loss window.
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 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.
-
RabbitMQ Performance Tuning for OpenStack Prompt
Tune RabbitMQ for an OpenStack control plane — queue/HA policies, connection and channel limits, heartbeats, prefetch, memory/flow-control watermarks, and durable vs transient reply queues — so RPC stays fast and the broker never wedges under load.
-
Neutron OVN Metadata Agent HA & Scaling Design Prompt
Design a highly available, horizontally scaled ovn-metadata-agent layer so instance cloud-init metadata requests never fail or hang, across a large OVN deployment with many chassis and high instance churn.
-
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.
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.