Juan Antonio Osorio Robles 317c5a29e6 Add healthchecks for barbican containers
The barbican-keystone-listener and worker only listen
for the message queue, so the healthcheck reflects that.

This patch only adds healthcheck scripts after the issue
with rdo-kolla-build-integration CI job. For details see:
https://review.openstack.org/#/c/544626

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: Ic0573f6dfe550dd7f5d6bc579b3b06660d4bf1fc
2018-02-19 13:32:42 +00:00
..
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-29 12:39:59 +02:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2018-01-23 07:53:15 +00:00
2018-01-23 07:53:46 +00:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00

Health check commands

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:

$ export HEALTHCHECKS_DIR=$PWD
$ ./heat-api
{"versions": [{"status": "CURRENT", "id": "v1.0", "links": [{"href": "http://192.168.24.1:8004/v1/", "rel": "self"}]}]}
300 192.168.24.1:8004 0.002 seconds