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 2027263 - insights-client-results.service keeps active after SM auto registered in aws
Summary: insights-client-results.service keeps active after SM auto registered in aws
Keywords:
Status: CLOSED DUPLICATE of bug 2022191
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: insights-client
Version: 9.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Nobody
QA Contact: Pavol Kotvan
URL:
Whiteboard:
Depends On:
Blocks: 2022191 2055036 2061967 2070323 2109244
TreeView+ depends on / blocked
 
Reported: 2021-11-29 09:10 UTC by Frank Liang
Modified: 2022-07-20 18:23 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-01 15:00:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
os_tests.tests.test_lifecycle.TestLifeCycle.test_boot_debugkernel.debug (607.27 KB, text/plain)
2021-11-29 09:10 UTC, Frank Liang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-104121 0 None None None 2021-11-29 09:12:29 UTC

Description Frank Liang 2021-11-29 09:10:21 UTC
Created attachment 1843970 [details]
os_tests.tests.test_lifecycle.TestLifeCycle.test_boot_debugkernel.debug

Description of problem:
After system SM auto registered in aws, the system bootup cannot finish successfully because of insights-client-results.service keeping in active.

[root@ip-10-116-2-58 insights-client]# systemd-analyze blame
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
[root@ip-10-116-2-58 insights-client]# systemctl list-jobs
JOB    UNIT                            TYPE  STATE  
129410 insights-client-results.service start running

1 jobs listed.
[root@ip-10-116-2-58 insights-client]# uname -r
5.14.0-1.7.1.el9.aarch64
[root@ip-10-116-2-58 insights-client]# rpm -q insights-client
insights-client-3.1.6-2.el9.noarch
[root@ip-10-116-2-58 insights-client]# systemctl status insights-client-results.service
● insights-client-results.service - Check for insights from Red Hat Cloud Services
     Loaded: loaded (/usr/lib/systemd/system/insights-client-results.service; static)
     Active: activating (start) since Mon 2021-11-29 08:50:20 UTC; 823ms ago
TriggeredBy: ● insights-client-results.path
       Docs: man:insights-client(8)
   Main PID: 75996 (insights-client)
      Tasks: 2 (limit: 46872)
     Memory: 20.3M
        CPU: 823ms
     CGroup: /system.slice/insights-client-results.service
             ├─75996 /usr/libexec/platform-python /usr/bin/insights-client --check-results
             └─76002 /usr/libexec/platform-python -c "from insights.client import InsightsClient; print(InsightsClient(None, False).version())"

Nov 29 08:50:20 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Starting Check for insights from Red Hat Cloud Services...
[root@ip-10-116-2-58 insights-client]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@ip-10-116-2-58 insights-client]# insights-client --status
System is registered locally via .registered file. Registered at 2021-11-29T06:24:18.121773
Insights API confirms registration.

There are tons of message produced:
[root@ip-10-116-2-58 insights-client]# journalctl -u insights-client-results.service
-- Journal begins at Mon 2021-11-29 06:34:39 UTC, ends at Mon 2021-11-29 09:03:31 UTC. --
Nov 29 06:34:45 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Starting Check for insights from Red Hat Cloud Services...
Nov 29 06:34:52 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Deactivated successfully.
Nov 29 06:34:52 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Finished Check for insights from Red Hat Cloud Services.
Nov 29 06:34:52 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Consumed 4.161s CPU time.
Nov 29 06:34:52 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Starting Check for insights from Red Hat Cloud Services...
Nov 29 06:35:25 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Deactivated successfully.
Nov 29 06:35:25 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Finished Check for insights from Red Hat Cloud Services.
Nov 29 06:35:25 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Consumed 4.162s CPU time.
Nov 29 06:35:25 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Starting Check for insights from Red Hat Cloud Services...
Nov 29 06:35:30 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Deactivated successfully.
Nov 29 06:35:30 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: Finished Check for insights from Red Hat Cloud Services.
Nov 29 06:35:30 ip-10-116-2-58.us-west-2.compute.internal systemd[1]: insights-client-results.service: Consumed 4.187s CPU time.
......
......

RHEL Version:
RHEL-9.0(5.14.0-1.7.1.el9.aarch64)

How reproducible:
100%

Steps to Reproduce:
1. start a rhel-9 beta t4g.large instance
2. check the boot time

Actual results:
system cannot finish bootup successfully.

Expected results:
system bootup can finish normally

Additional info:
- N/A

Comment 3 Gaël Chamoulaud 2022-02-01 13:59:16 UTC
That issue will certainly be fixed with insights-client-3.1.7-3.el9

Comment 4 Gaël Chamoulaud 2022-02-01 15:00:00 UTC

*** This bug has been marked as a duplicate of bug 2022191 ***


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