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: I795e7a7423d3efd5168dd8e8d89b3c86aa13c31f
This commit is contained in:
parent
93beaf8c4a
commit
f5aa36a38d
@ -47,7 +47,7 @@ enabled_share_backends={% for backend in manila_backends | dictsort %}{{ backend
|
||||
{% endfor %}
|
||||
|
||||
[database]
|
||||
connection = mysql+pymysql://{{ manila_galera_user }}:{{ manila_container_mysql_password }}@{{ manila_galera_address }}/{{ manila_galera_database }}?charset=utf8{% if manila_galera_use_ssl | bool %}&ssl_verify_cert=true{% if manila_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ manila_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
||||
connection = mysql+pymysql://{{ manila_galera_user }}:{{ manila_container_mysql_password }}@{{ manila_galera_address }}:{{ manila_galera_port }}/{{ manila_galera_database }}?charset=utf8{% if manila_galera_use_ssl | bool %}&ssl_verify_cert=true{% if manila_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ manila_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
||||
max_overflow = {{ manila_db_max_overflow }}
|
||||
max_pool_size = {{ manila_db_max_pool_size }}
|
||||
pool_timeout = {{ manila_db_pool_timeout }}
|
||||
|
Loading…
Reference in New Issue
Block a user