Merge pull request #1851 from ceph/shrkin-time

shrink-mon: wait a little bit for the mon to be out
pull/1855/head
Sébastien Han 2017-09-05 09:17:22 +02:00 committed by GitHub
commit 0d9489faec
1 changed files with 4 additions and 0 deletions

View File

@ -118,7 +118,11 @@
shell: |
ceph --cluster {{ cluster }} -s -f json | python -c 'import sys, json; print(json.load(sys.stdin)["quorum_names"])'
delegate_to: "{{ mon_host }}"
failed_when: false
register: result
until: mon_to_kill_hostname not in result.stdout
retries: 2
delay: 10
- name: please remove the monitor from your ceph configuration file
debug: