diff --git a/defaults/main.yml b/defaults/main.yml index c54cdbd..50f3833 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -111,6 +111,10 @@ manila_oslomsg_notify_policies: [] ## RabbitMQ integration manila_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}" +manila_oslomsg_rabbit_stream_fanout: "{{ oslomsg_rabbit_stream_fanout | default(manila_oslomsg_rabbit_quorum_queues) }}" +manila_oslomsg_rabbit_transient_quorum_queues: "{{ oslomsg_rabbit_transient_quorum_queues | default(manila_oslomsg_rabbit_stream_fanout) }}" +manila_oslomsg_rabbit_qos_prefetch_count: "{{ oslomsg_rabbit_qos_prefetch_count | default(manila_oslomsg_rabbit_stream_fanout | ternary(10, 0)) }}" +manila_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(manila_oslomsg_rabbit_quorum_queues) }}" manila_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}" manila_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}" diff --git a/templates/manila.conf.j2 b/templates/manila.conf.j2 index 0bfe3bb..abe68b8 100644 --- a/templates/manila.conf.j2 +++ b/templates/manila.conf.j2 @@ -56,6 +56,10 @@ connection_recycle_time = {{ manila_db_connection_recycle_time }} [oslo_messaging_rabbit] ssl = {{ manila_oslomsg_rpc_use_ssl }} rabbit_quorum_queue = {{ manila_oslomsg_rabbit_quorum_queues }} +rabbit_transient_quorum_queue = {{ manila_oslomsg_rabbit_transient_quorum_queues }} +rabbit_qos_prefetch_count = {{ manila_oslomsg_rabbit_qos_prefetch_count }} +use_queue_manager = {{ manila_oslomsg_rabbit_queue_manager }} +rabbit_stream_fanout = {{ manila_oslomsg_rabbit_stream_fanout }} rabbit_quorum_delivery_limit = {{ manila_oslomsg_rabbit_quorum_delivery_limit }} rabbit_quorum_max_memory_bytes = {{ manila_oslomsg_rabbit_quorum_max_memory_bytes }}