Bug 2203785 - Collectd sensubility stops working after overcloud node was rebooted.
Summary: Collectd sensubility stops working after overcloud node was rebooted.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 17.1
Assignee: Martin Magr
QA Contact: myadla
mgeary
URL:
Whiteboard:
Depends On:
Blocks: 2203787
TreeView+ depends on / blocked
 
Reported: 2023-05-15 08:56 UTC by Leonid Natapov
Modified: 2024-01-16 14:32 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-17.1.20230630005113.ca47fc0.el9ost
Doc Type: Bug Fix
Doc Text:
This update fixes a permission issue that caused collectd sensubility to stop working after you rebooted a baremetal node. + Now collectd sensubility continues working after you reboot a baremetal node.
Clone Of:
: 2203787 (view as bug list)
Environment:
Last Closed: 2024-01-16 14:32:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 883447 0 None NEW Ensure podman,sock ACL survives reboot 2023-05-17 21:09:49 UTC
Red Hat Issue Tracker OSP-25054 0 None None None 2023-05-15 08:57:16 UTC
Red Hat Product Errata RHBA-2024:0209 0 None None None 2024-01-16 14:32:24 UTC

Description Leonid Natapov 2023-05-15 08:56:03 UTC
Collectd sensubility stops working after overcloud node was rebooted.

It happens because while deploying overcloud we are setting collectd user to be able to run /run/podman and apparently setfacl does not survive reboot.


After rebooting overcloud node I am getting following messages in sensubility log file:

podman machine init` and `podman machine start` to manage a new Linux VM\\n

Error: unable to connect to Podman socket: Get \\\"http://d/v4.4.1/libpod/_ping\\\": dial unix ///run/podman/podman.sock: connect: permission denied\\n\\n\",\"status\":\"1\"}}}"},"startsAt":"2023-05-15T04:01:11Z"}}]
[DEBUG] Sent message ACKed. [id: 136]
[DEBUG] Requesting execution of check. [check: check-container-health]
[DEBUG] Executed check script. [output: Failed to list containers:

Comment 2 Leonid Natapov 2023-05-15 09:00:09 UTC
The work around is after rebooting overcloud node manually run a following command:

sudo podman exec -it collectd setfacl -R -m u:collectd:rwx /run/podman

Comment 6 Matthias Runge 2023-07-18 10:04:34 UTC
This is a high severity/priority issue and it is already modified.
Moving back to z1.

Comment 28 Leonid Natapov 2023-11-29 02:58:24 UTC
Verified 
openstack-tripleo-heat-templates-14.3.1-17.1.20231103010823.el9ost.noarch

Comment 40 errata-xmlrpc 2024-01-16 14:32:20 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 17.1.2 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-2024:0209


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