From 28149003cd1a20bf824eb4e255ff7a9f2ac384af Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 14 Mar 2024 09:31:04 +0900 Subject: [PATCH] Expose rabbit_transient_quorum_queue Depends-on: https://review.opendev.org/911021 Change-Id: I8501190b817e8f2da0941056d86c21cda48aeee0 --- manifests/init.pp | 6 ++++++ manifests/inspector.pp | 6 ++++++ .../rabbit_transient_quorum_queue-6e4e17862a4d8d42.yaml | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 releasenotes/notes/rabbit_transient_quorum_queue-6e4e17862a4d8d42.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 624dd588..98934496 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -108,6 +108,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 @@ -276,6 +280,7 @@ class ironic ( $rabbit_heartbeat_in_pthread = $facts['os_service_default'], $rabbit_ha_queues = $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'], @@ -375,6 +380,7 @@ class ironic ( kombu_ssl_version => $kombu_ssl_version, 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/manifests/inspector.pp b/manifests/inspector.pp index fc090d67..a36afa50 100644 --- a/manifests/inspector.pp +++ b/manifests/inspector.pp @@ -252,6 +252,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 @@ -358,6 +362,7 @@ class ironic::inspector ( $rabbit_heartbeat_in_pthread = $facts['os_service_default'], $rabbit_ha_queues = $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'], @@ -502,6 +507,7 @@ class ironic::inspector ( kombu_ssl_version => $kombu_ssl_version, 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-6e4e17862a4d8d42.yaml b/releasenotes/notes/rabbit_transient_quorum_queue-6e4e17862a4d8d42.yaml new file mode 100644 index 00000000..2020b520 --- /dev/null +++ b/releasenotes/notes/rabbit_transient_quorum_queue-6e4e17862a4d8d42.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + The ``ironic::rabbit_transient_quorum_queue`` parameter and + the ``ironic::inspector::rabbit_transient_quorum_queue`` parameter have + been added.