diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 695f7a85a317ca8dc83374f7e44db2e21a26277a..ba42c2b9f2ec204627873e6626af9919f62405b3 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -944,7 +944,7 @@ enable_opensearch_dashboards_external: "{{ enable_opensearch_dashboards | bool } #################### # Redis options #################### -redis_connection_string: "redis://{% for host in groups['redis'] %}{% if host == groups['redis'][0] %}admin:{{ redis_master_password }}@{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ redis_sentinel_port }}?sentinel=kolla{% else %}&sentinel_fallback={{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ redis_sentinel_port }}{% endif %}{% endfor %}{{ redis_connection_string_extras }}" +redis_connection_string: "redis://{% for host in groups['redis'] %}{% if host == groups['redis'][0] %}default:{{ redis_master_password }}@{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ redis_sentinel_port }}?sentinel=kolla{% else %}&sentinel_fallback={{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ redis_sentinel_port }}{% endif %}{% endfor %}{{ redis_connection_string_extras }}" redis_connection_string_extras: "&db=0&socket_timeout=60&retry_on_timeout=yes" #################### diff --git a/releasenotes/notes/bug-2056667-c6d6896855b393f4.yaml b/releasenotes/notes/bug-2056667-c6d6896855b393f4.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b6677b820dc96f9ee9d46ebebaa349fdc80de6a7 --- /dev/null +++ b/releasenotes/notes/bug-2056667-c6d6896855b393f4.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes the use of redis as coordination backend. + `LP#2056667 <https://bugs.launchpad.net/kolla-ansible/+bug/2056667>`__