Bug 2218284 - Setting cgroup v1 slice for insights-client.service fails on RHEL 8.8
Summary: Setting cgroup v1 slice for insights-client.service fails on RHEL 8.8
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: insights-client
Version: 8.9
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: CSI Client Tools Bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
: 2218285 (view as bug list)
Depends On: 2148270
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-28 14:51 UTC by Alba Hita
Modified: 2023-07-21 08:29 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2148270
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161118 0 None None None 2023-06-28 14:52:22 UTC

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


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