Update heat api healtchecks

The heat-api and heat-api-cfn containers need to check for 401 which is
what the api will return when it is up. There is not currently a
specific healthcheck url for heat that would return 200 so we need to
update the container healthcheck to look for the 401.

Change-Id: Ib0ac8847a47a42e7e0d73b699236df3355f58dcd
Closes-Bug: #1772492
This commit is contained in:
Alex Schultz 2018-05-21 13:59:01 -06:00
parent cef9c40651
commit db47c12099
2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,4 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-heat_api_wsgi.conf)
healthcheck_curl ${check_url}
healthcheck_curl ${check_url} | grep ^401

View File

@ -3,4 +3,4 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-heat_api_cfn_wsgi.conf)
healthcheck_curl ${check_url}
healthcheck_curl ${check_url} | grep ^401