Bug 1827708
| Summary: | /etc/cron.daily/rhsmd fails to recognize rhsmd.processtimeout configuration | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Sefler <jsefler> | |
| Component: | subscription-manager | Assignee: | candlepin-bugs | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.2 | CC: | apmukher, bkurt, redakkan, wpoteat, yvan.broccard | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1827711 1828657 (view as bug list) | Environment: | ||
| Last Closed: | 2020-11-04 01:39:09 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: | 1827711, 1828657 | |||
|
Description
John Sefler
2020-04-24 15:24:31 UTC
Technically speaking, the significance of this bug on rhel8.3 has been obsoleted by the work done on Bug 1780028 (which was really implemented by Bug 1775714). Therefore, to verify this bug, I will attempt to verify that /etc/cron.daily/rhsmd is no longer provided by subscription-manager and that all instances of rhsmd.processtimeout have been removed.... Testing Version.... [root@kvm-06-guest22 ~]# rpm -qa | grep subscription-manager | sort dnf-plugin-subscription-manager-1.27.8-1.el8.x86_64 python3-subscription-manager-rhsm-1.27.8-1.el8.x86_64 subscription-manager-1.27.8-1.el8.x86_64 subscription-manager-cockpit-1.27.8-1.el8.noarch subscription-manager-debuginfo-1.27.8-1.el8.x86_64 subscription-manager-debugsource-1.27.8-1.el8.x86_64 subscription-manager-initial-setup-addon-1.27.8-1.el8.x86_64 subscription-manager-migration-1.27.8-1.el8.x86_64 subscription-manager-migration-data-2.0.51-1.noarch subscription-manager-plugin-ostree-1.27.8-1.el8.x86_64 subscription-manager-rhsm-certificates-1.27.8-1.el8.x86_64 [root@kvm-06-guest22 ~]# [root@kvm-06-guest22 ~]# rpm -q subscription-manager --changelog | egrep "1827708|1780028|1775714" - 1827708: Make rhsmd cron read 'processTimeout' case- - 1775714: Do not install rhsmd and rhsm-icon on rhel8; ENT-1959 [root@kvm-06-guest22 ~]# _______________________________________________________ [root@kvm-06-guest22 ~]# ls /etc/cron.daily/rhsmd ls: cannot access '/etc/cron.daily/rhsmd': No such file or directory [root@kvm-06-guest22 ~]# [root@kvm-06-guest22 ~]# rpm -ql subscription-manager | grep cron [root@kvm-06-guest22 ~]# VERIFIED: "/etc/cron.daily/rhsmd" is no longer installed and is not provided by subscription-manager-1.27.8-1 _______________________________________________________ [root@kvm-06-guest22 ~]# grep -B1 -i processTimeout /etc/rhsm/rhsm.conf # The time in seconds we will allow the rhsmd cron job to run before terminating the process. processTimeout = 300 [root@kvm-06-guest22 ~]# FAILED: There should be no more processTimeout configuration in rhsm.conf since "/etc/cron.daily/rhsmd" has been obsoleted. _______________________________________________________ [root@kvm-06-guest22 ~]# man -P cat rhsm.conf | grep -A1 -i processTimeout processTimeout The time in seconds we will allow the rhsmd cron job to run before terminating the process. [root@kvm-06-guest22 ~]# FAILED: There should be no more processTimeout discussion in the man page for rhsm.conf _______________________________________________________ [root@kvm-06-guest22 ~]# subscription-manager config --help | grep -i processTimeout --rhsmd.processtimeout=RHSMD.PROCESSTIMEOUT Section: rhsmd, Name: processtimeout [root@kvm-06-guest22 ~]# FAILED: There should be no need to be able to use the config mudule to set processTimeout Moving back to NEW/FailedQA to finish the job of obsoleting processTimeout I changed my mind on how to close out this bugzilla.... This bug was opened specifically to apply a fix to /etc/cron.daily/rhsmd and the fix was applied, but was irrelevant due to the removal of the file by bug 1780028 (which was really implemented by bug 1775714). Therefore I will close out this bug as VERIFIED and move the FAILED QA issues from comment 10 to bug 1780028 where they are more relevant. 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:4460 |