Ensure Gnocchi is connected to MySQL coordination with TLS

Currently a proper parameter is not passed to the coordination url to
ensure TLS communication towards MySQL backend

Change-Id: I480938069488df57a104ad564cc0087ca9c14aec
This commit is contained in:
Dmitriy Rabotyagov 2024-05-03 12:50:14 +02:00 committed by Dmitriy Rabotyagov
parent d44b25ebb8
commit 7e2a464848
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ gnocchi_storage_redis_url: "redis://localhost:6379/"
gnocchi_coordination_url: >-
mysql://{{ gnocchi_galera_user }}:{{ gnocchi_container_mysql_password }}@{{ gnocchi_galera_address }}/{{
gnocchi_galera_database }}?charset=utf8&timeout=5{%
if gnocchi_galera_use_ssl | bool %}&ssl_ca={{ gnocchi_galera_ssl_ca_cert }}{% endif %}
if gnocchi_galera_use_ssl | bool %}&ssl_check_hostname=true{%
if gnocchi_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ gnocchi_galera_ssl_ca_cert }}{% endif %}{% endif %}
# Incoming configuration
# Incoming configuration is not applied if driver is the same as storage one