Following https://bugzilla.redhat.com/show_bug.cgi?id=1784043 and https://bugzilla.redhat.com/show_bug.cgi?id=1784046, it would be nice to collect the healthcheck logs in a dedicated logfile, so that we can expose it to any container wanting to read the healthcheck status (monitoring, metrics). A simple rule such as this one should be sufficient: if $programname == 'container-healthcheck' then /path/to/log/file.log & stop Location should probably be somewhere in /var/log/containers in order to keep things clean. Be careful to ensure the file location is covered by the logrotate_crond configuration!
Upstream for Stein (osp-15) in the pipe.
In order to verify this BZ, one must deploy an undercloud with the related paunch patch and verify that, if metrics are enabled, a new log located in /var/log/containers/sensu/healthchecks.log is present Please note, this log exists only if metrics are enabled.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0643