Description of problem:
ceilometer_agent_central and ceilometer_agent_notification healthchecks are broken and fail with error [1]. In my understanding this error is generated because get_user_from_process function [2] doesn't return correct username (it returns ceilome+ instead of ceilometer)
I get the same outcome when running the following command manually: https://github.com/openstack/tripleo-common/blob/stable/train/healthcheck/common.sh#L32
[1]
Oct 28 07:25:23 controller-1 healthcheck_ceilometer_agent_notification[971681]: + sudo -u ceilome+ ss -ntuap
Oct 28 07:25:23 controller-1 healthcheck_ceilometer_agent_notification[971681]: sudo: unknown user: ceilome+
Oct 28 07:25:23 controller-1 healthcheck_ceilometer_agent_notification[971681]: sudo: unable to initialize policy plugin
[2]
https://github.com/openstack/tripleo-common/blob/stable/train/healthcheck/common.sh#L15
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement 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-2021:3762