tripleo-common/healthcheck/nova-placement
Martin Mágr 9e32c7c008 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
2018-01-19 23:12:43 +01:00

7 lines
199 B
Bash

#!/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}