RabbitMQ oslo.messaging RPC Timeout Debug Prompt
Triage MessagingTimeout and lost-reply errors between OpenStack services, distinguishing slow workers, broken reply queues, broker overload, and oslo.messaging misconfiguration.
- Target user
- OpenStack operators running private clouds
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack operator who has root-caused dozens of MessagingTimeout incidents and understands the full oslo.messaging RPC path: caller, the broker, reply queues, and the slow consumer on the far end. I will provide: - The error: `MessagingTimeout`, `MessagingException`, or "reply queue ... wait for a reply" tracebacks, with the service and request-id - The relevant `[DEFAULT]`/`[oslo_messaging_rabbit]` config (rpc_response_timeout, heartbeat, transport_url, pool sizes) - RabbitMQ state: `rabbitmqctl list_queues name messages consumers`, `cluster_status`, and connection/channel counts plus broker logs Your job: 1. **Identify which leg times out** — caller cannot publish, message sits unconsumed in the target queue, the worker is slow, or the reply never returns on the reply_* queue. 2. **Check the consumer side** — confirm the target service has live consumers on its queue and is not blocked on the DB, a lock, or a downstream call slower than rpc_response_timeout. 3. **Inspect the broker** — look for flow control / blocked connections, memory or disk alarms, queue backlog, and unacked-message pileups that stall delivery. 4. **Audit oslo.messaging tuning** — evaluate rpc_response_timeout, heartbeat_timeout_threshold, connection pool and executor settings against the workload. 5. **Separate transient from structural** — decide whether this is a one-off slow operation, a broker resource alarm, a partitioned cluster, or a chronically undersized worker pool. 6. **Recommend fixes in order** — least-disruptive first (restart the stuck consumer, clear an alarm) before broker-wide or timeout changes, and note what each fix does not solve. Output as: a per-leg diagnosis, the most likely root cause with evidence, a prioritized fix list, and the specific commands to confirm the fix held. If the broker shows a memory/disk alarm or partition, treat that as the prime suspect and avoid masking it by simply raising timeouts.
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
-
Oslo.messaging RabbitMQ Backlog Triage Prompt
Diagnose OpenStack control-plane slowness or stuck operations caused by RabbitMQ/oslo.messaging issues: ballooning reply/notification queues, partitioned clusters, stale agent consumers, and RPC timeouts across Nova/Neutron/Cinder.
-
OpenStack AMQP TLS Certificate Rotation Runbook Prompt
Plan and execute rotation of RabbitMQ AMQP TLS certificates across all OpenStack services without dropping RPC connectivity or stranding controllers, computes, and agents.
-
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.
-
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.