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 2148270 - Setting cgroup v1 slice for insights-client.service fails on RHEL 9.2
Summary: Setting cgroup v1 slice for insights-client.service fails on RHEL 9.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: insights-client
Version: 9.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Link Dupont
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
: 2155468 (view as bug list)
Depends On:
Blocks: 2218284 2218285
TreeView+ depends on / blocked
 
Reported: 2022-11-24 20:01 UTC by Pavol Kotvan
Modified: 2023-11-07 09:49 UTC (History)
11 users (show)

Fixed In Version: insights-client-3.2.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2218284 2218285 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:32:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-140420 0 None None None 2022-11-24 20:02:53 UTC
Red Hat Product Errata RHBA-2023:6432 0 None None None 2023-11-07 08:33:24 UTC

Comment 12 Alba Hita 2023-06-28 14:46:39 UTC
*** Bug 2155468 has been marked as a duplicate of this bug. ***

Comment 13 qianzhan 2023-07-21 08:23:22 UTC
Verification:

1. The RHEL system:

[root@kvm-01-guest03 ~]# cat /etc/redhat-release 

Red Hat Enterprise Linux release 9.3 Beta (Plow)


2. The insights-client version:

[root@kvm-01-guest03 ~]# rpm -qa | grep insights-client

insights-client-3.2.0-1.el9.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-01-guest03 ~]# cat /usr/lib/systemd/system/insights-client.service | egrep 'Memory|ExecStart'

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

*Memory*High=1G

*Memory*Max=2G

[root@kvm-01-guest03 ~]#

 

4. Start insights-client.service:

[root@kvm-01-guest03 ~]# systemctl start insights-client.service


5. Check the insights-client.service

(1) The service is running:

[root@kvm-01-guest03 ~]# systemctl status insights-client.service

● insights-client.service - Insights Client

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

     Active: active (running) since Fri 2023-07-21 03:42:33 EDT; 1min 26s ago

       Docs: man:insights-client(8)

   Main PID: 29472 (insights-client)

      Tasks: 3 (limit: 300)

     Memory: 160.6M (high: 1.0G max: 2.0G available: 863.3M)

        CPU: 25.800s

     CGroup: /system.slice/insights-client.service

             ├─29472 /usr/libexec/platform-python /usr/bin/insights-client --retry 3

             └─29506 /usr/libexec/platform-python /usr/lib/python3.9/site-packages/insights_client/run.py --retry 3

 

Jul 21 03:42:33 kvm-01-guest03.lab.eng.rdu2.redhat.com systemd[1]: Started Insights Client.

Jul 21 03:42:50 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Starting to collect Insights data for kvm-01-guest03.lab.eng.rdu2.re>

Jul 21 03:43:18 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Librepo version: 1.14.5 with CURL_GLOBAL_ACK_EINTR support (libcurl/>

Jul 21 03:43:18 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: — logging initialized —

Jul 21 03:43:59 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Uploading Insights data.

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Successfully uploaded report from kvm-01-guest03.lab.eng.rdu2.redhat>

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: View details about this system on console.redhat.com:

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: https://console.redhat.com/insights/inventory/a2aa667b-8cd1-4622-a1b>

[root@kvm-01-guest03 ~]#


(2) The service is inactive:

[root@kvm-01-guest03 ~]# systemctl status insights-client.service

○ insights-client.service - Insights Client

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

     Active: inactive (dead)

       Docs: man:insights-client(8)

 

Jul 21 03:42:33 kvm-01-guest03.lab.eng.rdu2.redhat.com systemd[1]: Started Insights Client.

Jul 21 03:42:50 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Starting to collect Insights data for kvm-01-guest03.lab.eng.rdu2.re>

Jul 21 03:43:18 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Librepo version: 1.14.5 with CURL_GLOBAL_ACK_EINTR support (libcurl/>

Jul 21 03:43:18 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: — logging initialized —

Jul 21 03:43:59 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Uploading Insights data.

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: Successfully uploaded report from kvm-01-guest03.lab.eng.rdu2.redhat>

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: View details about this system on console.redhat.com:

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com insights-client[29506]: https://console.redhat.com/insights/inventory/a2aa667b-8cd1-4622-a1b>

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com systemd[1]: insights-client.service: Deactivated successfully.

Jul 21 03:44:00 kvm-01-guest03.lab.eng.rdu2.redhat.com systemd[1]: insights-client.service: Consumed 25.995s CPU time.

[root@kvm-01-guest03 ~]#


Through 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 14 qianzhan 2023-07-21 08:28:31 UTC
(In reply to qianzhan from comment #13)
> Verification:
> 
> 1. The RHEL system:
> 
> [root@kvm-01-guest03 ~]# cat /etc/redhat-release 
> 
> Red Hat Enterprise Linux release 9.3 Beta (Plow)
> 
The compose of RHEL9.3: RHEL-9.3.0-20230718.0 BaseOS x86_64

Comment 16 errata-xmlrpc 2023-11-07 08:32:52 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:6432


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