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: I753c328569e1ee6d69a0ad2168b6493a3c7438f9
This commit is contained in:
parent
8b39e84ec1
commit
8242307cf7
@ -31,7 +31,7 @@ service_token_roles = {{ blazar_service_token_roles | join(',') }}
|
||||
service_type = {{ blazar_service_type }}
|
||||
|
||||
[database]
|
||||
connection = mysql+pymysql://{{ blazar_galera_user }}:{{ blazar_container_mysql_password }}@{{ blazar_galera_address }}/{{ blazar_galera_database }}?charset=utf8{% if blazar_galera_use_ssl | bool %}&ssl_verify_cert=true{% if blazar_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ blazar_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
||||
connection = mysql+pymysql://{{ blazar_galera_user }}:{{ blazar_container_mysql_password }}@{{ blazar_galera_address }}:{{ blazar_galera_port }}/{{ blazar_galera_database }}?charset=utf8{% if blazar_galera_use_ssl | bool %}&ssl_verify_cert=true{% if blazar_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ blazar_galera_ssl_ca_cert }}{% endif %}{% endif +%}
|
||||
max_overflow = {{ blazar_db_max_overflow }}
|
||||
max_pool_size = {{ blazar_db_max_pool_size }}
|
||||
pool_timeout = {{ blazar_db_pool_timeout }}
|
||||
|
Loading…
Reference in New Issue
Block a user