Don't allow quorum queues to be disabled

We will be upgrading RabbitMQ to version 4.0 in Epoxy. This will not
work without quorum queues being enabled.

Change-Id: Ic6ad64bf8c62bbff175e15029eb121814032c40e
This commit is contained in:
Matt Crees
2025-02-04 11:19:38 +00:00
committed by Michal Arbet
parent 6149799a6d
commit 50bbcb09d0
57 changed files with 95 additions and 283 deletions

View File

@@ -139,27 +139,21 @@ driver = noop
{% endif %}
[oslo_messaging_rabbit]
{% if om_enable_queue_manager | bool %}
use_queue_manager = true
{% if service_name == 'nova-api' or service_name == 'nova-metadata' %}
processname = {{ service_name }}
{% endif %}
{% endif %}
heartbeat_in_pthread = {{ service_name == 'nova-api' }}
{% if om_enable_rabbitmq_tls | bool %}
ssl = true
ssl_ca_file = {{ om_rabbitmq_cacert }}
{% endif %}
{% if om_enable_rabbitmq_quorum_queues | bool %}
rabbit_quorum_queue = true
{% if om_enable_rabbitmq_stream_fanout | bool %}
rabbit_stream_fanout = true
rabbit_qos_prefetch_count = {{ om_rabbitmq_qos_prefetch_count }}
{% endif %}
{% if om_enable_rabbitmq_transient_quorum_queue | bool %}
rabbit_transient_quorum_queue = true
{% endif %}
{% endif %}
{% if service_name in nova_services_require_policy_json and nova_policy_file is defined %}
[oslo_policy]