Bug 1902681 - ceilometer_agent_central and ceilometer_agent_notification healthchecks are broken
Summary: ceilometer_agent_central and ceilometer_agent_notification healthchecks are b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 16.1 (Train)
Hardware: All
OS: All
medium
medium
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-30 11:58 UTC by Alex Stupnikov
Modified: 2021-12-09 20:18 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-common-11.4.1-1.20210412113429.75bd92a.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-09 20:17:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1907811 0 None None None 2020-12-11 13:21:18 UTC
OpenStack gerrit 766706 0 None NEW Move away from "ss" and drop default verbose mode 2021-01-05 15:24:39 UTC
Red Hat Issue Tracker OSP-666 0 None None None 2021-11-18 11:29:08 UTC
Red Hat Issue Tracker OSP-667 0 None None None 2021-11-18 11:29:09 UTC
Red Hat Product Errata RHBA-2021:3762 0 None None None 2021-12-09 20:18:01 UTC

Description Alex Stupnikov 2020-11-30 11:58:04 UTC
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:

Comment 4 lrobinson 2020-12-10 19:57:25 UTC
Can confirm we are also experiencing this bug.

Comment 24 errata-xmlrpc 2021-12-09 20:17:29 UTC
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


Note You need to log in before you can comment on or make changes to this bug.