
This introduces health checks for a number of OpenStack services. Change-Id: I9882d5047c960499dae279eda5d9cbacc01ac5d3 Implements: blueprint container-healthchecks
9 lines
301 B
Bash
Executable File
9 lines
301 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/tripleo-common/healthcheck}/common.sh
|
|
|
|
bind_host=$(get_config_val /etc/glance/glance-api.conf DEFAULT bind_host 127.0.0.1)
|
|
bind_port=$(get_config_val /etc/glance/glance-api.conf DEFAULT bind_port 9292)
|
|
|
|
healthcheck_curl http://${bind_host}:${bind_port}/
|