From 669f4b5454ab6ca271a726190ff75078b1773e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=A1gr?= Date: Fri, 2 Feb 2018 14:54:01 +0100 Subject: [PATCH] Fix health check for ovn-metadata The service does not connect to RabbitMQ, but to ovsdb instead. This patch makes the script check the correct port. Change-Id: I85fc431c7566c6bb74af2173cd3b92b7bf74424d --- healthcheck/ovn-metadata | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/healthcheck/ovn-metadata b/healthcheck/ovn-metadata index 0d35c2e2c..a56849ba0 100755 --- a/healthcheck/ovn-metadata +++ b/healthcheck/ovn-metadata @@ -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