From 60a56b5d4ad978117821d0705557d7199cc4f337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 16 Mar 2017 11:16:49 +0100 Subject: [PATCH] mon: increase wait for monitor socket timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sometimes the socket appears during the 5th attempt and sometimes not so increasing the timeout a little bit. Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/docker/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/docker/main.yml b/roles/ceph-mon/tasks/docker/main.yml index ce2ad9324..c7fb9b468 100644 --- a/roles/ceph-mon/tasks/docker/main.yml +++ b/roles/ceph-mon/tasks/docker/main.yml @@ -50,7 +50,7 @@ command: docker exec ceph-mon-{{ ansible_hostname }} stat /var/run/ceph/{{ cluster }}-mon.{{ ansible_fqdn }}.asok register: monitor_socket retries: 5 - delay: 10 + delay: 15 until: monitor_socket.rc == 0 - name: force peer addition as potential bootstrap peer for cluster bringup