While we have a dedicated nova_metadata healthcheck script, the
nova_metadata and nova_api use the same container image and the current
nova api healtcheck script still checks the non wsgi implementation. This
changes the nova_api healthcheck script to check the metadata wsgi vhost
config for details instead of the details in nova.conf.
Change-Id: I028caee75e47618d5d0c55054ef33216d05d41b6
Closes-Bug: #1797514
The scripts in this directory are meant to implement the
container-healthcheck blueprint. They are written to be compatible
with the Docker HEALTHCHECK api.
The scripts expect to source
/usr/share/tripleo-common/healthcheck/common.sh. If you
want to run scripts without installing to that file, you can set the
HEALTHCHECKS_DIR environment variable, e.g: