Files
tripleo-common/healthcheck
Martin Mágr b9905a052f Add health check for OVN containers
This patch adds script for ovn_controller and ovn-dbs-bundle containers.
Health is check using verification of connection to OVN DB.

Change-Id: I9c8d0445b7f010838fe94dae2ae6fb86952fdeab
2018-06-07 12:38:56 +02:00
..
2018-03-07 10:44:59 +01:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2018-03-07 10:44:59 +01: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-03-07 10:44:59 +01:00
2018-06-07 12:38:56 +02:00
2018-03-07 10:44:59 +01:00
2018-04-16 16:41:06 +02:00
2018-03-07 10:44:59 +01:00
2018-03-07 10:44:59 +01:00
2018-03-07 10:44:59 +01:00
2018-05-21 13:59:01 -06:00
2018-05-30 05:05:54 -06:00
2017-08-21 17:59:39 -04:00
2018-04-20 15:19:48 +01:00
2018-03-07 10:44:59 +01:00
2017-08-21 17:59:39 -04:00
2018-03-07 10:44:59 +01:00
2018-03-07 10:44:59 +01:00
2017-08-21 17:59:39 -04:00
2017-08-29 12:39:59 +02:00
2018-03-07 10:44:59 +01:00
2018-03-07 10:44:59 +01:00
2017-08-21 17:59:39 -04:00
2018-03-07 10:44:59 +01:00
2017-08-21 17:59:39 -04:00
2018-03-07 10:44:59 +01: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-04-24 04:15:32 +00:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2018-04-11 15:47:18 -04:00
2018-06-07 12:38:56 +02:00
2018-02-08 14:47:56 +00:00
2018-03-07 10:44:59 +01:00
2018-05-16 18:31:28 -06:00
2017-08-21 17:59:39 -04:00
2017-08-21 17:59:39 -04:00
2018-03-07 10:44:59 +01: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