Fix incorrect value of [storage]/ceph_keyring in gnocchi.conf

The value should be the full path to the keyring file, not just the
name. Without this fix Gnocchi fails to connect to Ceph.

Change-Id: Iaa69b2096b09a448345de50911e21436875d48d6
Closes-Bug: #1886711
This commit is contained in:
Pierre Riteau 2020-07-07 21:47:04 +02:00
parent 904f1c9bd9
commit 9a0f8c3193
2 changed files with 7 additions and 1 deletions

View File

@ -76,7 +76,7 @@ file_basepath = /var/lib/gnocchi
driver = ceph
ceph_pool = {{ ceph_gnocchi_pool_name }}
ceph_username = {{ ceph_gnocchi_user }}
ceph_keyring = {{ ceph_gnocchi_keyring }}
ceph_keyring = /etc/ceph/{{ ceph_gnocchi_keyring }}
ceph_conffile = /etc/ceph/ceph.conf
{% elif gnocchi_backend_storage == 'swift' %}
driver = swift

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an incorrect Ceph keyring file configuration in ``gnocchi.conf``,
which prevented Gnocchi from connecting to Ceph. `LP#1886711
<https://bugs.launchpad.net/kolla-ansible/+bug/1886711>`__