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: VERIFIED --- 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: ---   
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: 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