diff --git a/ansible/roles/gnocchi/tasks/external_ceph.yml b/ansible/roles/gnocchi/tasks/external_ceph.yml index 16c166cb58..32c797d3d9 100644 --- a/ansible/roles/gnocchi/tasks/external_ceph.yml +++ b/ansible/roles/gnocchi/tasks/external_ceph.yml @@ -11,7 +11,7 @@ - name: Copy over ceph.conf file template: - src: "{{ node_custom_config }}/{{ item }}/ceph.conf" + src: "{{ node_custom_config }}/gnocchi/ceph.conf" dest: "{{ node_config_directory }}/{{ item }}/ceph.conf" when: inventory_hostname in groups[item] with_items: @@ -25,7 +25,7 @@ - name: Copy over ceph gnocchi keyring copy: - src: "{{ node_custom_config }}/{{ item }}/ceph.client.gnocchi.keyring" + src: "{{ node_custom_config }}/gnocchi/ceph.client.gnocchi.keyring" dest: "{{ node_config_directory }}/{{ item }}/ceph.client.gnocchi.keyring" when: inventory_hostname in groups[item] with_items: diff --git a/releasenotes/notes/fix-gnocchi-external-ceph-filepath-672ea7ac3c325ec2.yaml b/releasenotes/notes/fix-gnocchi-external-ceph-filepath-672ea7ac3c325ec2.yaml new file mode 100644 index 0000000000..bfe2d07848 --- /dev/null +++ b/releasenotes/notes/fix-gnocchi-external-ceph-filepath-672ea7ac3c325ec2.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Load custom ceph.conf and keyring file from <>/gnocchi + folder rathen than each folder of gnocchi components.