Skip to content
Snippets Groups Projects
Commit be79b50b authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Don't kill keystone, but instead wait for it to finish at the end"

parents f84c2b17 f642fd7b
No related branches found
No related tags found
No related merge requests found
......@@ -158,17 +158,5 @@ crux endpoint-create --remove-all \
-A "http://${KEYSTONE_ADMIN_SERVICE_HOST}:${KEYSTONE_ADMIN_SERVICE_PORT}/v${KEYSTONE_API_VERSION}" \
-P "http://${KEYSTONE_PUBLIC_SERVICE_HOST}:${KEYSTONE_PUBLIC_SERVICE_PORT}/v${KEYSTONE_API_VERSION}"
# Stop Keystone service
echo "Stopping Keystone for changes to take effect."
kill -TERM $PID
# Check to make sure the service is stopped
echo "Making sure the Keystone service is stopped."
while curl -o /dev/null -s --fail ${SERVICE_ENDPOINT}; do
echo "waiting for keystone @ ${SERVICE_ENDPOINT} to exit"
sleep 1;
done
# Start Keystone again for final changes to take effect
echo "Running keystone service."
exec /usr/bin/keystone-all
# Wait on all jobs to exit before proceeding (see man wait)
wait
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment