From e78172909a9f817ce8b11372d6e7a8636d7972df Mon Sep 17 00:00:00 2001 From: Martin Magr Date: Wed, 16 Dec 2020 11:14:03 +0100 Subject: [PATCH] Switch gnocchi-statsd HC to healthcheck_port The currently used healthcheck_listen does not work for UDP protocol since it was switched from ss usage to lsof usage and statsd is listening on UDP:8125. Close-Bug: #1907485 Change-Id: I037f6bdd470f521b73bdfadb45f91b31321b0b01 --- healthcheck/gnocchi-statsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/healthcheck/gnocchi-statsd b/healthcheck/gnocchi-statsd index 10b04d26a..1aee264fa 100755 --- a/healthcheck/gnocchi-statsd +++ b/healthcheck/gnocchi-statsd @@ -5,7 +5,7 @@ process='gnocchi-statsd' bind_port=$(get_config_val /etc/gnocchi/gnocchi.conf statsd port 8125) -if ! healthcheck_listen $process $bind_port; then +if ! healthcheck_port $process $bind_port; then echo "There is no $process process listening on ports $bind_port in the container." exit 1 fi