From 759acc5fb410dd493149c9cacd44b10d0ba4f6b4 Mon Sep 17 00:00:00 2001 From: Chi Lo Date: Sun, 13 Oct 2019 04:55:42 -0700 Subject: [PATCH] Enable rabbit HA queues for Ranger-agent pods Change-Id: I25214b0174549c66fc4de01a5703d557cce314ad --- ranger-agent/values.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ranger-agent/values.yaml b/ranger-agent/values.yaml index 136706ba..24c0a421 100755 --- a/ranger-agent/values.yaml +++ b/ranger-agent/values.yaml @@ -560,6 +560,8 @@ conf: retry_limits: 5 oslo_messaging_notifications: driver: messagingv2 + oslo_messaging_rabbit: + rabbit_ha_queues: true ssh: user: ranger_agent user_home: /home/ranger_agent @@ -568,3 +570,16 @@ conf: ssh_config: null test: expected_end_status_key: Success + rabbitmq: + policies: + - vhost: "ranger-agent" + name: "ha_ttl_ranger_agent" + definition: + #mirror messges to other nodes in rmq cluster + ha-mode: "all" + ha-sync-mode: "automatic" + #70s + message-ttl: 70000 + priority: 0 + apply-to: all + pattern: '^(?!(amq\.|reply_)).*'