Fix nova-api healthcheck

Fixes if statement to match correct nova metadata process name.

Change-Id: If02312254694ccdb74fceadd992a47707ff41fdf
This commit is contained in:
Martin Schuppert 2018-10-29 16:58:39 +01:00
parent b8bfff895b
commit da02cd1cf6
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
if pgrep -f nova-metadata; then
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)