0ca91f0d14
Looks like octavia healthmanager uses UDP 5555 port. Also changes octavia-health-manager healath check to use healthcheck_port rather than healthcheck_listen, as udp is a connectionless protocol. Change-Id: Id48d5efe17eeb1a524e280d8885e98cfe1a5577a Related-Bug: #1843555
15 lines
311 B
Bash
Executable File
15 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
process='octavia-health-manager'
|
|
args="${@:-5555}"
|
|
|
|
if healthcheck_port $process $args; then
|
|
exit 0
|
|
else
|
|
ports=${args// /,}
|
|
echo "There is no $process process listening on ports $ports."
|
|
exit 1
|
|
fi
|