Bug 1850919
| Summary: | False positive log "rhsmd process exceeded runtime and was killed." due to mistake in cronjob [rhel-7.9.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Jansky <jjansky> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.8 | CC: | arpandey, bkurt, jreznik, jsefler, martin.dedek, redakkan, wpoteat |
| Target Milestone: | rc | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-15 11:20:20 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: | |||
|
Description
Jan Jansky
2020-06-25 07:47:49 UTC
*** Bug 1846665 has been marked as a duplicate of this bug. *** Reproducer: [root@lenovo-rd230-01 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.0-1 subscription management rules: 5.41 subscription-manager: 1.24.42-1.el7 [root@lenovo-rd230-01 ~]# With already running rhsmd process start cron job [root@lenovo-rd230-01 /]# /etc/cron.daily/rhsmd [root@lenovo-rd230-01 /]# [root@lenovo-rd230-01 ~]# cat /var/log/messages Nov 18 04:36:12 lenovo-rd230-01 systemd: Stopping System Logging Service... Nov 18 04:36:12 lenovo-rd230-01 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-55.el7" x-pid="1082" x-info="http://www.rsyslog.com"] exiting on signal 15. Nov 18 04:36:12 lenovo-rd230-01 systemd: Stopped System Logging Service. Nov 18 04:36:12 lenovo-rd230-01 systemd: Starting System Logging Service... Nov 18 04:36:12 lenovo-rd230-01 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-55.el7" x-pid="2275" x-info="http://www.rsyslog.com"] start Nov 18 04:36:12 lenovo-rd230-01 systemd: Started System Logging Service. Nov 18 04:37:33 lenovo-rd230-01 rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date. Nov 18 04:37:43 lenovo-rd230-01 rhsmd: rhsmd process exceeded runtime and was killed. Nov 18 04:38:33 lenovo-rd230-01 rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date. Nov 18 04:38:43 lenovo-rd230-01 rhsmd: rhsmd process exceeded runtime and was killed. ^^^^------ logging for killed rhsmd process Verification: [root@lenovo-rd230-01 /]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.0-1 subscription management rules: 5.41 subscription-manager: 1.24.43-1.el7_9 With already running rhsmd process start cron job [root@lenovo-rd230-01 /]# /etc/cron.daily/rhsmd [root@lenovo-rd230-01 /]# [root@lenovo-rd230-01 /]# tail -f /var/log/messages Nov 18 04:45:27 lenovo-rd230-01 systemd: Started Enable periodic update of entitlement certificates.. Nov 18 04:45:46 lenovo-rd230-01 systemd: Stopping System Logging Service... Nov 18 04:45:46 lenovo-rd230-01 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-55.el7" x-pid="2275" x-info="http://www.rsyslog.com"] exiting on signal 15. Nov 18 04:45:46 lenovo-rd230-01 systemd: Stopped System Logging Service. Nov 18 04:45:46 lenovo-rd230-01 systemd: Starting System Logging Service... Nov 18 04:45:46 lenovo-rd230-01 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-55.el7" x-pid="13031" x-info="http://www.rsyslog.com"] start Nov 18 04:45:46 lenovo-rd230-01 systemd: Started System Logging Service. Nov 18 04:46:05 lenovo-rd230-01 dbus[733]: [system] Activating service name='com.redhat.SubscriptionManager' (using servicehelper) Nov 18 04:46:05 lenovo-rd230-01 dbus[733]: [system] Successfully activated service 'com.redhat.SubscriptionManager' Nov 18 04:47:53 lenovo-rd230-01 rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date. ^^^^------ no logging regarding killed rhsmd process Result: No logging for killed process in /var/log/messages 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 (subscription-manager 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-2020:5452 |