]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: show which file we are waiting for 1187/head
authorSébastien Han <seb@redhat.com>
Wed, 14 Dec 2016 20:08:18 +0000 (21:08 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 14 Dec 2016 20:08:18 +0000 (21:08 +0100)
We can now see the name of the file we are waiting for, depending on the
cluster name this will change.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mon/tasks/ceph_keys.yml
roles/ceph-mon/tasks/docker/main.yml

index be87f982836833e7b9d0fb6ce33eb8b7018f9241..0b64972ac88aab6ba8ccadeed4b22d22dd7bc7c3 100644 (file)
@@ -1,7 +1,7 @@
 ---
 # NOTE (leseb): wait for mon discovery and quorum resolution
 # the admin key is not instantaneously created so we have to wait a bit
-- name: wait for client.admin key exists
+- name: "wait for {{ cluster }}.client.admin.keyring exists"
   wait_for:
     path: /etc/ceph/{{ cluster }}.client.admin.keyring
   when: cephx
index 8b716fc9fcdd7eda8286541ddb3e9bde9120772c..62d11175095c121d05be070a753eab98cbaa842b 100644 (file)
@@ -65,7 +65,7 @@
 # NOTE: if we don't wait we will attempt to copy config to ansible host
 # before admin key is ready, preventing future daemons e.g. ceph-mds from
 # properly retrieving key
-- name: wait for client.admin key exists
+- name: "wait for {{ cluster }}.client.admin.keyring exists"
   wait_for:
     path: /etc/ceph/{{ cluster }}.client.admin.keyring
   when: cephx