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