Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2218284

Summary: Setting cgroup v1 slice for insights-client.service fails on RHEL 8.8
Product: Red Hat Enterprise Linux 8 Reporter: Alba Hita <ahitacat>
Component: insights-clientAssignee: CSI Client Tools Bugs <csi-client-tools-bugs>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.9CC: ahitacat, arpandey, cmarinea, dranck, fjansen, jpazdziora, link, pakotvan, qianzhan, redakkan, rhsm-qe, stomsa
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2148270 Environment:
Last Closed: 2023-11-14 15:35:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2148270    
Bug Blocks:    

Comment 1 Alba Hita 2023-06-28 14:53:49 UTC
*** Bug 2218285 has been marked as a duplicate of this bug. ***

Comment 6 qianzhan 2023-07-21 08:25:47 UTC
Verification:

1. The RHEL system:

[root@kvm-05-guest29 ~]# cat /etc/redhat-release 

Red Hat Enterprise Linux release 8.9 Beta (Ootpa)


2. The insights-client version:

[root@kvm-05-guest29 ~]# rpm -qa | grep insights-client

insights-client-3.2.0-2.el8.noarch


3. Check the configuration of unit insights-client.service for the for memory limits and the commands when/after running insights-client.service:

[root@kvm-05-guest29 ~]# systemctl cat insights-client.service | egrep 'Memory|ExecStart'

ExecStart=/usr/bin/insights-client --retry 3

*Memory*High=1G

*Memory*Max=2G

 

4. Check the status:

[root@kvm-05-guest29 ~]# systemctl status insights-client.service

● insights-client.service - Insights Client

   Loaded: loaded (/usr/lib/systemd/system/insights-client.service; static; vendor preset: disabled)

   Active: inactive (dead) since Fri 2023-07-21 02:44:57 EDT; 1min 49s ago

     Docs: man:insights-client(8)

  Process: 26159 ExecStart=/usr/bin/insights-client --retry 3 (code=exited, status=0/SUCCESS)

 Main PID: 26159 (code=exited, status=0/SUCCESS)

 

Jul 21 02:43:08 kvm-05-guest29.hv2.lab.eng.bos.redhat.com systemd[1]: Started Insights Client.

Jul 21 02:43:28 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: Starting to collect Insights data for kvm-05-guest29.hv2.lab.eng.>

Jul 21 02:43:30 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: Librepo version: 1.14.2 with CURL_GLOBAL_ACK_EINTR support (libcu>

Jul 21 02:43:30 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: — logging initialized —

Jul 21 02:43:31 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: Librepo version: 1.14.2 with CURL_GLOBAL_ACK_EINTR support (libcu>

Jul 21 02:44:56 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: Uploading Insights data.

Jul 21 02:44:56 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: Successfully uploaded report from kvm-05-guest29.hv2.lab.eng.bos.>

Jul 21 02:44:57 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: View details about this system on console.redhat.com:

Jul 21 02:44:57 kvm-05-guest29.hv2.lab.eng.bos.redhat.com insights-client[26203]: https://console.redhat.com/insights/inventory/28a8bdb5-6803-4632->

Jul 21 02:44:57 kvm-05-guest29.hv2.lab.eng.bos.redhat.com systemd[1]: insights-client.service: Succeeded.

 

As per above steps, we can see the insights-client.service status is good and meets its configuration. So move this bug from ON_QA to VERIFIED.

Comment 7 qianzhan 2023-07-21 08:29:10 UTC
(In reply to qianzhan from comment #6)
> Verification:
> 
> 1. The RHEL system:
> 
> [root@kvm-05-guest29 ~]# cat /etc/redhat-release 
> 
> Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
> 

The compose of RHEL8.9: RHEL-8.9.0-20230718.23 BaseOS x86_64

Comment 9 errata-xmlrpc 2023-11-14 15:35:31 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 (insights-client bug fix and enhancement update), 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-2023:7023