Fix ceilometer_agent_compute health check
The agent communicates via Redis (not RabbitMQ), so it should look for that port instead Change-Id: I780ec27c206c508cf68d0ce16ef269b5d1b92581
This commit is contained in:
parent
c167d3afd5
commit
0e64162d02
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user