Fix gnocchi-metricd when TLS and Swift enabled
Closes-Bug: #2051731
Change-Id: Idf035bacbf5c2195d813ec4702362897f2ff907d
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit c0f84c068d
)
This commit is contained in:
parent
4af47fac67
commit
fc84fa51a5
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user