git.samba.org
/
obnox
/
vagrant
/
vagrant-gluster-samba-cluster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f3264
)
attempt: try gluster peer probe several times before giving up
author
Michael Adam
<obnox@samba.org>
Tue, 24 Feb 2015 15:55:11 +0000
(16:55 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Feb 2015 15:55:11 +0000
(16:55 +0100)
This is an attempt to treat timing issues.
Probably not the right way.
Vagrantfile
patch
|
blob
|
history
diff --git
a/Vagrantfile
b/Vagrantfile
index 7f6bf605c5cca4d7c343c2feec11cee105cb1ea9..4a4010df846ef3761dde5b2954b995b1a10a8f67 100644
(file)
--- a/
Vagrantfile
+++ b/
Vagrantfile
@@
-251,7
+251,12
@@
PEER_IPS="$@"
for PEER_IP in ${PEER_IPS}
do
- gluster peer probe ${PEER_IP}
+ # try for some time to reach the other node:
+ for COUNT in $(seq 1 12)
+ do
+ gluster peer probe ${PEER_IP} && break
+ sleep 1
+ done
done
SCRIPT