From 1e670bdeb0c252695cc0554df76b6b08d888677c Mon Sep 17 00:00:00 2001 From: WingkaiHo Date: Wed, 22 Mar 2017 10:09:06 +0800 Subject: [PATCH] This assumes ceph as a cluster name. We need detect the name of the cluster --- .../recover-osds-after-ssd-journal-failure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml b/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml index f2f59b911..1e0fd04ad 100644 --- a/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml +++ b/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml @@ -64,7 +64,7 @@ - name: get osd(s) if directory stat stat: - path: "/var/lib/ceph/osd/{{ cluster_name }}-{{ item.1.osd_id }}/journal_uuid" + path: "/var/lib/ceph/osd/{{ cluster_name.stdout }}-{{ item.1.osd_id }}/journal_uuid" register: osds_dir_stat with_subelements: - "{{ dev_ssds }}"