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