Use proper galera port in configuration
While <service>_galera_port is defined and used for db_setup role, it's not in fact used in a connection string for oslo.db. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/888517 Change-Id: Idbd2bef71983f6fb3cc402563a166349621bf03c
This commit is contained in:
parent
e0e213efce
commit
2ec800116e
@ -18,7 +18,7 @@ secure_proxy_ssl_header = {{ gnocchi_secure_proxy_ssl_header }}
|
||||
{% endif %}
|
||||
|
||||
[indexer]
|
||||
url = mysql+pymysql://{{ gnocchi_galera_user }}:{{ gnocchi_container_mysql_password }}@{{ gnocchi_galera_address }}/{{ gnocchi_galera_database }}?charset=utf8{% if gnocchi_galera_use_ssl | bool %}&ssl_verify_cert=true{% if gnocchi_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ gnocchi_galera_ssl_ca_cert }}{% endif %}{% endif %}
|
||||
url = mysql+pymysql://{{ gnocchi_galera_user }}:{{ gnocchi_container_mysql_password }}@{{ gnocchi_galera_address }}:{{ gnocchi_galera_port }}/{{ gnocchi_galera_database }}?charset=utf8{% if gnocchi_galera_use_ssl | bool %}&ssl_verify_cert=true{% if gnocchi_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ gnocchi_galera_ssl_ca_cert }}{% endif %}{% endif %}
|
||||
|
||||
{% if gnocchi_auth_mode == "keystone" %}
|
||||
[keystone_authtoken]
|
||||
|
Loading…
Reference in New Issue
Block a user