Damien Ciabrini b48d0d5758 Clustercheck healthcheck with socat and ipv6
When clustercheck uses socat and IPv6, the healthcheck
has to wrap the service IP in brackets for the call
to succeed.

Change-Id: I61da4f85ccf88f0287886334c8a9f43e3be8ef7e
Closes-Bug: #1983266
2022-08-01 15:36:24 +02:00
..
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-03-07 10:44:59 +01:00
2021-08-30 10:03:50 +02:00
2019-06-14 19:23:53 +01:00
2019-10-09 10:21:05 -04:00
frr
2021-02-03 08:42:00 +01:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-03-07 10:44:59 +01:00
2019-01-16 22:12:23 +01:00
2018-09-11 17:15:11 +02:00
2018-03-07 10:44:59 +01:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-11-12 09:21:45 +01:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2019-04-24 10:14:43 -02:30
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2022-02-14 15:27:38 +01:00
2018-09-11 17:15:11 +02:00
2019-04-16 13:40:29 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02:00
2018-09-11 17:15:11 +02: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

Notes about changing healthchecks

Because healthchecks are provided via a package when building containers, you cannot rename or remove a health check in combination with a change to a, file in tripleo-common/container-images/. Changes need to be backwards and forwards compatible when updating healthchecks. You may also need to land a new healthcheck first and update the container build process in a subsequent change that lands later.