Add healthcheck script for Gnocchi API
This patch adds script for docker health check of Gnocchi API service. The script checks API service using curl. Change-Id: I010e3e4cc7eca59c5c5b8739e2ce145d4dc8a3f1
This commit is contained in:
parent
1550e16d6e
commit
57747becde
6
healthcheck/gnocchi-api
Normal file
6
healthcheck/gnocchi-api
Normal file
@ -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-gnocchi_wsgi.conf)
|
||||
healthcheck_curl ${check_url}
|
Loading…
Reference in New Issue
Block a user