From e13072a98df3727693ead107cd54d784c4e9c1cd Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Tue, 31 Jan 2023 14:38:36 +0000 Subject: Add flag to change RabbitMQ ha-mode definition Adds the flag `rabbitmq_ha_replica_count` to change how many different nodes a queue should be mirrored across. If the value is not set, then it defaults to "ha-mode":"all". This value is unset by default to avoid any unexpected changes to the RabbitMQ definitions.json file, as that would trigger an unexpected restart of RabbitMQ during the next deploy. Change-Id: Iee98cd937197a73a3b04aa8501fa325e8ecfff24 --- tools/validate-all-file.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/validate-all-file.py') diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index dc16bf382..763020e52 100755 --- a/tools/validate-all-file.py +++ b/tools/validate-all-file.py @@ -127,6 +127,7 @@ def check_json_j2(): 'api_interface_address': '', 'kolla_internal_fqdn': '', 'octavia_provider_drivers': '', + 'rabbitmq_ha_replica_count': 2, } data = template.render(**context) json.loads(data) -- cgit v1.2.3