c7dc3ec251
Change-Id: I987a6315f92a60dbf9619d4d34d3d92992feba2b Partial-Bug: 1848618
15 lines
348 B
Bash
Executable File
15 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
process='ironic-neutron-agent'
|
|
args="${@:-5671 5672}"
|
|
|
|
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"
|
|
exit 1
|
|
fi
|