Merge "Fix gnocchi-metricd when TLS and Swift enabled" into stable/2023.2

This commit is contained in:
Zuul 2024-03-04 10:32:04 +00:00 committed by Gerrit Code Review
commit 10e68dcd17

View File

@ -70,6 +70,9 @@ policy_file = {{ gnocchi_policy_file }}
driver = redis
redis_url = {{ redis_connection_string }}
{% endif %}
{% if gnocchi_backend_storage == 'swift' %}
swift_cacert = {{ openstack_cacert }}
{% endif %}
[storage]
{% if gnocchi_backend_storage == 'file' %}
@ -84,6 +87,7 @@ ceph_conffile = /etc/ceph/{{ gnocchi_ceph_cluster }}.conf
{% elif gnocchi_backend_storage == 'swift' %}
driver = swift
swift_authurl = {{ keystone_internal_url }}
swift_cacert = {{ openstack_cacert }}
swift_auth_version = 3
swift_user = service:{{ swift_keystone_user }}
swift_key = {{ swift_keystone_password }}