Fix trove failed to connect rabbitmq - durable queues support

This change fixes the trove guest instance failed to connect to
RabbitMQ by adding durable queues support to oslo_messaging_rabbit
section in guest-agent.conf.

Partial-Bug: #2048822

Change-Id: I8efc3c92e861816385e6cda3b231a950a06bf57d
This commit is contained in:
wu.chunyang 2024-01-09 10:44:55 +08:00 committed by Bartosz Bezak
parent 1538092522
commit 6b96d098bf
2 changed files with 13 additions and 0 deletions

View File

@ -4,3 +4,9 @@ control_exchange = trove
root_grant = ALL
root_grant_option = True
debug = {{ trove_logging_debug }}
[oslo_messaging_rabbit]
heartbeat_in_pthread = false
{% if om_enable_rabbitmq_high_availability | bool %}
amqp_durable_queues = true
{% endif %}

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fix a trove deployment bug where trove guest-agent failed to connect
to RabbitMQ due to the missing of the `oslo_messaging_rabbit` config in
`guest-agent.conf`.
see `bug 2048822 <https://bugs.launchpad.net/kolla-ansible/+bug/2048822>`__