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:
Martin Mágr 2018-01-19 23:12:43 +01:00
parent bd3476ff54
commit 9e32c7c008

View 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}