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:
parent
cef9c40651
commit
db47c12099
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user