Add healthcheck script for Cinder API
This patch adds script for docker health check of Cinder API service. The script checks API service using curl. Change-Id: Iebb0cdb911c65a78eeba148337028e8ef9aad4be
This commit is contained in:
parent
1550e16d6e
commit
24c12e93b1
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
||||
|
||||
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-cinder_wsgi.conf)
|
||||
healthcheck_curl ${check_url}
|
Loading…
Reference in New Issue