1abff9af09
Currently /usr/share/tripleo-common is used in healthcheck scripts, but only /usr/share/openstack-tripleo-common is available in container images Closes-Bug: #1710629 Change-Id: Id7d169cfd34bf2a45e9bff0e389e77189cb774d7
8 lines
304 B
Bash
Executable File
8 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
bind_host=$(get_config_val /etc/heat/heat.conf heat_api_cfn bind_host 127.0.0.1)
|
|
bind_port=$(get_config_val /etc/heat/heat.conf heat_api_cfn bind_port 8000)
|
|
healthcheck_curl http://${bind_host}:${bind_port}/
|