Merge "Define unique hostname for QManager"

This commit is contained in:
Zuul 2024-05-28 09:49:47 +00:00 committed by Gerrit Code Review
commit 6ba430bc0a

View File

@ -108,6 +108,9 @@ rabbit_quorum_queue = {{ zun_oslomsg_rabbit_quorum_queues }}
rabbit_transient_quorum_queue = {{ zun_oslomsg_rabbit_transient_quorum_queues }} rabbit_transient_quorum_queue = {{ zun_oslomsg_rabbit_transient_quorum_queues }}
rabbit_qos_prefetch_count = {{ zun_oslomsg_rabbit_qos_prefetch_count }} rabbit_qos_prefetch_count = {{ zun_oslomsg_rabbit_qos_prefetch_count }}
use_queue_manager = {{ zun_oslomsg_rabbit_queue_manager }} use_queue_manager = {{ zun_oslomsg_rabbit_queue_manager }}
{% if zun_oslomsg_rabbit_queue_manager %}
hostname = {{ [ansible_facts['hostname'], zun_service_name] | join('-') }}
{% endif %}
rabbit_stream_fanout = {{ zun_oslomsg_rabbit_stream_fanout }} rabbit_stream_fanout = {{ zun_oslomsg_rabbit_stream_fanout }}
rabbit_quorum_delivery_limit = {{ zun_oslomsg_rabbit_quorum_delivery_limit }} rabbit_quorum_delivery_limit = {{ zun_oslomsg_rabbit_quorum_delivery_limit }}
rabbit_quorum_max_memory_bytes = {{ zun_oslomsg_rabbit_quorum_max_memory_bytes }} rabbit_quorum_max_memory_bytes = {{ zun_oslomsg_rabbit_quorum_max_memory_bytes }}