Skip to content

Instantly share code, notes, and snippets.

@leseb
Created June 21, 2012 23:02
Show Gist options
  • Save leseb/2969139 to your computer and use it in GitHub Desktop.
Save leseb/2969139 to your computer and use it in GitHub Desktop.
--- a/tools/ocf/keystone
+++ b/tools/ocf/keystone
@@ -277,6 +277,7 @@
# Spin waiting for the server to come up.
# Let the CRM/LRM time us out if required
while true; do
+ sleep 1
keystone_monitor
... ...
rc=$?
[ $rc -eq $OCF_SUCCESS ] && break
@@ -284,7 +285,6 @@
ocf_log err "OpenStack Identity (Keystone) start failed"
exit $OCF_ERR_GENERIC
fi
- sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment