Fix ceilometer_agent_compute health check

The agent communicates via Redis (not RabbitMQ), so it should look
for that port instead

Change-Id: I780ec27c206c508cf68d0ce16ef269b5d1b92581
(cherry picked from commit 0e64162d02)
This commit is contained in:
Martin Magr 2019-11-04 12:18:26 +01:00 committed by Martin Mágr
parent a32270df8e
commit a0c7845485
1 changed files with 2 additions and 2 deletions

View File

@ -3,12 +3,12 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='ceilometer-polling'
args="${@:-5671 5672}"
args="${@:-6379}"
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 with opened Redis ports ($ports) running in the container"
exit 1
fi