From 9ce0c2808e3386c45619710484815c970cd0d478 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 12 Apr 2017 15:07:10 -0500 Subject: [PATCH] ceph-mon: change command to see if rbd exists The previous command was hanging, see this issue: https://github.com/ceph/ceph-ansible/issues/1440 Signed-off-by: Andrew Schoen --- roles/ceph-mon/tasks/ceph_keys.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index 3e7ffe2f1..b54d07122 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -57,7 +57,7 @@ - include: set_osd_pool_default_pg_num.yml - name: test if rbd exists - command: ceph --cluster {{ cluster }} osd pool stats rbd + command: ceph --cluster {{ cluster }} osd pool get rbd size changed_when: false failed_when: false register: rbd_pool_exist -- 2.39.5