diff options
| author | Matt Crees <mattc@stackhpc.com> | 2023-01-31 14:38:36 +0000 |
|---|---|---|
| committer | Matt Crees <mattc@stackhpc.com> | 2023-02-14 10:51:46 +0000 |
| commit | e13072a98df3727693ead107cd54d784c4e9c1cd (patch) | |
| tree | 8bc3522b5c8ac8128611007650544fb525291550 /tools/validate-all-file.py | |
| parent | 94f3ce0c78998e29fcc034a9b0844f9d6d602807 (diff) | |
| download | kolla-ansible-e13072a98df3727693ead107cd54d784c4e9c1cd.tar.gz kolla-ansible-e13072a98df3727693ead107cd54d784c4e9c1cd.zip | |
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
Diffstat (limited to 'tools/validate-all-file.py')
| -rwxr-xr-x | tools/validate-all-file.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
