Add healthcheck script for Nova placement API
This patch adds script for docker health check of Nova placement API service. The script checks API service using curl. Change-Id: I31ab3f6777acddc802a321ff9a4728ebf574c0d4
This commit is contained in:
parent
bd3476ff54
commit
9e32c7c008
6
healthcheck/nova-placement
Normal file
6
healthcheck/nova-placement
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-placement_wsgi.conf)
|
||||
healthcheck_curl ${check_url}
|
Loading…
Reference in New Issue
Block a user