Browse Source
Sahara container images aren't built anymore, but we had some leftovers that we need to clean up. Change-Id: I1c3a2592984213133591999f869535651be32a48changes/82/748282/5
4 changed files with 0 additions and 32 deletions
@ -1,8 +0,0 @@
|
||||
#!/bin/bash |
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh |
||||
|
||||
bind_host=$(wrap_ipv6 $(get_config_val /etc/sahara/sahara.conf DEFAULT host 127.0.0.1)) |
||||
bind_port=$(get_config_val /etc/sahara/sahara.conf DEFAULT port 8386) |
||||
# sahara-api is still eventlet |
||||
healthcheck_curl http://${bind_host}:${bind_port}/ |
@ -1,14 +0,0 @@
|
||||
#!/bin/bash |
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh |
||||
|
||||
process='sahara-engine' |
||||
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 |
Loading…
Reference in new issue