kolla-ansible/docker/keystone/check.sh
Lars Kellogg-Stedman f593541485 added simple health check scripts
add /check.sh to keystone and glance-api images that can be used to
verify proper functionality of the container.

Change-Id: I0a878678fb8e9427d8e99af4896cbc679d3490a4
2014-10-13 16:43:13 -04:00

13 lines
143 B
Bash
Executable File

#!/bin/sh
RES=0
. /openrc
if ! keystone token-get > /dev/null; then
echo "ERROR: keystone token-get failed" >&2
RES=1
fi
exit $RES