diff --git a/templates/manila.conf.j2 b/templates/manila.conf.j2 index f3ccd8c..077ff46 100644 --- a/templates/manila.conf.j2 +++ b/templates/manila.conf.j2 @@ -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 }}