Implement variables to address oslo.messaging improvements
During last release cycle oslo.messaging has landed [1] series of extremely useful changes that are designed to implement modern messaging techniques for rabbitmq quorum queues. Since these changes are breaking and require queues being re-created, it makes total sense to align these with migration to quorum queues by default. [1] https://review.opendev.org/q/topic:%22bug-2031497%22 Change-Id: I7229673bfff823467f7d756ef41713acdf49756f
This commit is contained in:
parent
f694169e6f
commit
af6fe320eb
@ -115,6 +115,10 @@ aodh_oslomsg_notify_policies: []
|
||||
|
||||
## RabbitMQ integration
|
||||
aodh_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}"
|
||||
aodh_oslomsg_rabbit_stream_fanout: "{{ oslomsg_rabbit_stream_fanout | default(aodh_oslomsg_rabbit_quorum_queues) }}"
|
||||
aodh_oslomsg_rabbit_transient_quorum_queues: "{{ oslomsg_rabbit_transient_quorum_queues | default(aodh_oslomsg_rabbit_stream_fanout) }}"
|
||||
aodh_oslomsg_rabbit_qos_prefetch_count: "{{ oslomsg_rabbit_qos_prefetch_count | default(aodh_oslomsg_rabbit_stream_fanout | ternary(10, 0)) }}"
|
||||
aodh_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(aodh_oslomsg_rabbit_quorum_queues) }}"
|
||||
aodh_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}"
|
||||
aodh_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}"
|
||||
|
||||
|
@ -11,6 +11,10 @@ transport_url = {{ aodh_oslomsg_rpc_transport }}://{% for host in aodh_oslomsg_r
|
||||
[oslo_messaging_rabbit]
|
||||
ssl = {{ aodh_oslomsg_rpc_use_ssl }}
|
||||
rabbit_quorum_queue = {{ aodh_oslomsg_rabbit_quorum_queues }}
|
||||
rabbit_transient_quorum_queue = {{ aodh_oslomsg_rabbit_transient_quorum_queues }}
|
||||
rabbit_qos_prefetch_count = {{ aodh_oslomsg_rabbit_qos_prefetch_count }}
|
||||
use_queue_manager = {{ aodh_oslomsg_rabbit_queue_manager }}
|
||||
rabbit_stream_fanout = {{ aodh_oslomsg_rabbit_stream_fanout }}
|
||||
rabbit_quorum_delivery_limit = {{ aodh_oslomsg_rabbit_quorum_delivery_limit }}
|
||||
rabbit_quorum_max_memory_bytes = {{ aodh_oslomsg_rabbit_quorum_max_memory_bytes }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user