![Takashi Kajinami](/assets/img/avatar_default.png)
This change adds healthcheck script for manila-api and manila-share, following the existing for the other api/rpc services. Change-Id: Ief1e41cbe975446cf5d1e62a5db693fd409f3166
15 lines
340 B
Bash
Executable File
15 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
process='manila-share'
|
|
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
|