d03401438c
This patch does three main things: - drop the ultra-verbose output (set -x), adding a new param we can use when calling the healthcheck directly - move away from the "ss" calls and the multiple pipes used to filter its output, using "lsof" and native filtering - rewrite the "ps" call in order to use ps native filters instead of piping through grep These changes should make the healthchecks stronger, and avoid some weird issues due to the pipes, and lower the amount of logs while keeping the important information visible. In order to get verbose mode when running the healthcheck directly, you can do as follow: podman exec -u root -ti <container> bash HEALTHCHECK_DEBUG=1 ./openstack/healthcheck or podman -u root -e "HEALTHCHECK_DEBUG=1" <container> /openstack/healthcheck and enjoy a nice debug output. Change-Id: I137fe3211043b00b553db26b2f5930f98373496d |
||
---|---|---|
.. | ||
notes | ||
source |