Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for OpenStack Difficulty: Advanced ClaudeChatGPTCursor

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

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.