tripleo-common/healthcheck/mistral-executor
Ian Main 6a876977f7 Set healthchecks executable.
A lot of healthchecks are failing because they aren't executable.

Change-Id: I396c9c964cb30d670315cb06743158cfd7934b89
2017-08-21 17:59:39 -04:00

15 lines
334 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='mistral-server'
args="${@:-5671 5672}"
if healthcheck_port $process $args; then
exit 0
else
ports=${args// /,}
echo "There is no $process process with opened RabbitMQ ports ($ports) running in the container"
exit 1
fi