Fix ceph keyring setting for gnocchi
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 25 May 2016 17:07:17 +0000 (13:07 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Thu, 26 May 2016 11:58:59 +0000 (11:58 +0000)
The ceph_keyring value is expected to be a full path
to the keyring. But we currently only pass in
client.<cephuser>. This patch fixes the value
to be full path.

Closes-Bug: #1586010

Change-Id: I5666c44bb35b6ae109c68506704eff776f5dceda

puppet/ceph-cluster-config.yaml
puppet/extraconfig/ceph/ceph-external-config.yaml

index fd16188..f5873dd 100644 (file)
@@ -123,8 +123,10 @@ resources:
                 gnocchi::storage::ceph::ceph_keyring:
                   list_join:
                   - '.'
-                  - - 'client'
+                  - - '/etc/ceph/ceph'
+                    - 'client'
                     - {get_param: CephClientUserName}
+                    - 'keyring'
                 ceph_client_user_name: {get_param: CephClientUserName}
                 ceph_pools:
                   - {get_param: CinderRbdPoolName}
index 5942088..308c609 100644 (file)
@@ -97,8 +97,10 @@ resources:
                 gnocchi::storage::ceph::ceph_keyring:
                   list_join:
                   - '.'
-                  - - 'client'
+                  - - '/etc/ceph/ceph'
+                    - 'client'
                     - {get_param: CephClientUserName}
+                    - 'keyring'
                 ceph_client_user_name: {get_param: CephClientUserName}
                 ceph_pools:
                   - {get_param: CinderRbdPoolName}