From d82a354686bdcb633bc44348dda5f20651ee50ec Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 14 Mar 2024 09:27:55 +0900 Subject: [PATCH] Expose rabbit_transient_quorum_queue Depends-on: https://review.opendev.org/911021 Change-Id: Idc2dc23f294e83ddc67225808c7976d03cc93907 --- manifests/init.pp | 6 ++++++ .../rabbit_transient_quorum_queue-ac19d97c3757d523.yaml | 4 ++++ spec/classes/heat_init_spec.rb | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 releasenotes/notes/rabbit_transient_quorum_queue-ac19d97c3757d523.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 3038510c..f4958e54 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -61,6 +61,10 @@ # (Optional) Use quorum queues in RabbitMQ. # Defaults to $facts['os_service_default'] # +# [*rabbit_transient_quorum_queue*] +# (Optional) Use quorum queues for transients queues in RabbitMQ. +# Defaults to $facts['os_service_default'] +# # [*rabbit_quorum_delivery_limit*] # (Optional) Each time a message is rdelivered to a consumer, a counter is # incremented. Once the redelivery count exceeds the delivery limit @@ -270,6 +274,7 @@ class heat( $rabbit_heartbeat_rate = $facts['os_service_default'], $rabbit_heartbeat_in_pthread = $facts['os_service_default'], $rabbit_quorum_queue = $facts['os_service_default'], + $rabbit_transient_quorum_queue = $facts['os_service_default'], $rabbit_quorum_delivery_limit = $facts['os_service_default'], $rabbit_quorum_max_memory_length = $facts['os_service_default'], $rabbit_quorum_max_memory_bytes = $facts['os_service_default'], @@ -348,6 +353,7 @@ class heat( amqp_durable_queues => $amqp_durable_queues, rabbit_ha_queues => $rabbit_ha_queues, rabbit_quorum_queue => $rabbit_quorum_queue, + rabbit_transient_quorum_queue => $rabbit_transient_quorum_queue, rabbit_quorum_delivery_limit => $rabbit_quorum_delivery_limit, rabbit_quorum_max_memory_length => $rabbit_quorum_max_memory_length, rabbit_quorum_max_memory_bytes => $rabbit_quorum_max_memory_bytes, diff --git a/releasenotes/notes/rabbit_transient_quorum_queue-ac19d97c3757d523.yaml b/releasenotes/notes/rabbit_transient_quorum_queue-ac19d97c3757d523.yaml new file mode 100644 index 00000000..08d672b3 --- /dev/null +++ b/releasenotes/notes/rabbit_transient_quorum_queue-ac19d97c3757d523.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + The new ``heat::rabbit_transient_quorum_queue`` parameter has been added. diff --git a/spec/classes/heat_init_spec.rb b/spec/classes/heat_init_spec.rb index 85c7fc8f..fe39f300 100644 --- a/spec/classes/heat_init_spec.rb +++ b/spec/classes/heat_init_spec.rb @@ -139,6 +139,7 @@ describe 'heat' do :amqp_durable_queues => '', :rabbit_ha_queues => '', :rabbit_quorum_queue => '', + :rabbit_transient_quorum_queue => '', :rabbit_quorum_delivery_limit => '', :rabbit_quorum_max_memory_length => '', :rabbit_quorum_max_memory_bytes => '', @@ -168,6 +169,7 @@ describe 'heat' do :amqp_durable_queues => true, :rabbit_ha_queues => true, :rabbit_quorum_queue => '', + :rabbit_transient_quorum_queue => '', :rabbit_quorum_delivery_limit => '', :rabbit_quorum_max_memory_length => '', :rabbit_quorum_max_memory_bytes => '',