Add 'db=0' to redis_connection_string
In fact, the db default is 0. But gnocchi redis_url needs this parameter or KeyError will occur. Change-Id: I2920c17a374d04b451c73e37b844881e5b71a162 Signed-off-by: ZijianGuo <guozijn@gmail.com>
This commit is contained in:
parent
470108a1c0
commit
a0940bb12a
@ -690,7 +690,7 @@ enable_kibana: "{{ 'yes' if enable_central_logging | bool or enable_monasca | bo
|
||||
####################
|
||||
# Redis options
|
||||
####################
|
||||
redis_connection_string: "redis://{% for host in groups['redis'] %}{% if host == groups['redis'][0] %}admin:{{ redis_master_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ redis_sentinel_port }}?sentinel=kolla{% else %}&sentinel_fallback={{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ redis_sentinel_port }}{% endif %}{% endfor %}&socket_timeout=60&retry_on_timeout=yes"
|
||||
redis_connection_string: "redis://{% for host in groups['redis'] %}{% if host == groups['redis'][0] %}admin:{{ redis_master_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ redis_sentinel_port }}?sentinel=kolla{% else %}&sentinel_fallback={{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ redis_sentinel_port }}{% endif %}{% endfor %}&db=0&socket_timeout=60&retry_on_timeout=yes"
|
||||
|
||||
####################
|
||||
# Osprofiler options
|
||||
|
Loading…
x
Reference in New Issue
Block a user