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. Change-Id: I65cbe26804fab48aed3c88ed75bfc7f28d3b5f9e
This commit is contained in:
parent
a0b2ef25cd
commit
60d9d8b306
@ -23,7 +23,7 @@ endpoint_type = {{ zun_service_endpoint_type }}
|
|||||||
|
|
||||||
{% if group_names | intersect(zun_services.keys() | difference('zun-compute') | map('extract', zun_services, 'group') | list) | count > 0 %}
|
{% if group_names | intersect(zun_services.keys() | difference('zun-compute') | map('extract', zun_services, 'group') | list) | count > 0 %}
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ zun_galera_user }}:{{ zun_galera_password }}@{{ zun_galera_address }}/{{ zun_galera_database }}?charset=utf8{% if zun_galera_use_ssl | bool %}&ssl_verify_cert=true{% if zun_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ zun_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
connection = mysql+pymysql://{{ zun_galera_user }}:{{ zun_galera_password }}@{{ zun_galera_address }}:{{ zun_galera_port }}/{{ zun_galera_database }}?charset=utf8{% if zun_galera_use_ssl | bool %}&ssl_verify_cert=true{% if zun_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ zun_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
||||||
max_overflow = {{ zun_db_max_overflow }}
|
max_overflow = {{ zun_db_max_overflow }}
|
||||||
max_pool_size = {{ zun_db_max_pool_size }}
|
max_pool_size = {{ zun_db_max_pool_size }}
|
||||||
pool_timeout = {{ zun_db_pool_timeout }}
|
pool_timeout = {{ zun_db_pool_timeout }}
|
||||||
|
Loading…
Reference in New Issue
Block a user