tripleo-common/healthcheck/ovn-metadata

15 lines
348 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='networking-ovn-metadata-agent'
args="${@:-6642}"
if healthcheck_port $process $args; then
exit 0
else
ports=${args// /,}
echo "There is no $process process connected to ovsdb ports $ports running in the container"
exit 1
fi