da02cd1cf6
Fixes if statement to match correct nova metadata process name. Change-Id: If02312254694ccdb74fceadd992a47707ff41fdf
13 lines
327 B
Bash
Executable File
13 lines
327 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
|
|
if pgrep -f nova_metadata; then
|
|
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-nova_metadata_wsgi.conf)
|
|
else
|
|
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-nova_api_wsgi.conf)
|
|
fi
|
|
|
|
healthcheck_curl ${check_url}
|