Merge "Fix health check for ovn-metadata"
This commit is contained in:
commit
e0b26246c2
@ -2,13 +2,13 @@
|
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
||||
|
||||
process='ovn-metadata-agent'
|
||||
args="${@:-5671 5672}"
|
||||
process='networking-ovn-metadata-agent'
|
||||
args="${@:-6642}"
|
||||
|
||||
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"
|
||||
echo "There is no $process process connected to ovsdb ports $ports running in the container"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user