Cédric Jeanneret baa9fb8c4b Correct ovn-dbs health check
We can't really check the socket presence in containers:
- ovn doesn't really listen to them
- playing with lsof and ss doesn't help, since there are some
  issues with inodes and overlays

The new healthcheck ensures the service is properly running, and
will fail if ovn-northd has an issue.

Please note: the current STDERR has some output, this is due to
some packaging issue being worked on right now.

Change-Id: I645e18cf198a948479083df94b5d373ed92f2aae
Closes-Bug: #1823882
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
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-03-28 08:00:18 +01:00
2019-04-10 10:38:07 +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-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-11-27 09:35:05 +00: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-09-11 17:15:11 +02:00
2019-03-27 08:51:15 +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-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-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
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
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
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

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