tripleo-common/healthcheck/ovn-dbs
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

5 lines
88 B
Bash
Executable File

#!/bin/bash
process='ovn-northd'
/usr/bin/ovs-appctl -t ${process} version 1>/dev/null