From 57b24f01f391bb6838a60d7e4542bd0ba8f268fe Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Wed, 10 Jan 2024 22:59:49 +0800 Subject: [PATCH] Fix trove failed to connect rabbitmq - quorum queues support This change fixes the trove guest instance failed to connect to RabbitMQ by adding quorum queues support to oslo_messaging_rabbit section in guest-agent.conf. Closes-Bug: #2048822 Change-Id: I94908f8e20981f20fbe4dc18e2091d3798f8b801 --- ansible/roles/trove/templates/trove-guestagent.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/trove/templates/trove-guestagent.conf.j2 b/ansible/roles/trove/templates/trove-guestagent.conf.j2 index 62b20698a8..27acf78b23 100644 --- a/ansible/roles/trove/templates/trove-guestagent.conf.j2 +++ b/ansible/roles/trove/templates/trove-guestagent.conf.j2 @@ -10,3 +10,6 @@ heartbeat_in_pthread = false {% if om_enable_rabbitmq_high_availability | bool %} amqp_durable_queues = true {% endif %} +{% if om_enable_rabbitmq_quorum_queues | bool %} +rabbit_quorum_queue = true +{% endif %}