Bug 2148270
Summary: | Setting cgroup v1 slice for insights-client.service fails on RHEL 9.2 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Pavol Kotvan <pakotvan> | |
Component: | insights-client | Assignee: | Link Dupont <link> | |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 9.3 | CC: | ahitacat, arpandey, cmarinea, dranck, fjansen, jpazdziora, link, qianzhan, redakkan, stomsa, vagrawal | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | insights-client-3.2.0-1.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2218284 2218285 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-07 08:32:52 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: | ||||
Bug Blocks: | 2218284, 2218285 |
Comment 12
Alba Hita
2023-06-28 14:46:39 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. (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 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 |