Bug 2059631
| Summary: | typo for "rhsmcertd" in /etc/rhsm/rhsm.conf | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Pino Toscano <ptoscano> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9.0 | CC: | redakkan, zpetrace |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.1 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.29.29-1.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:19:30 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: | |||
Version: [root@kvm-02-guest10 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.22-1 subscription management rules: 5.41 subscription-manager: 1.29.26-3.el9_0 Pre verifying: [root@kvm-02-guest10 ~]# wget https://prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com/view/QE-RPMs/job/rhsm_RHEL9.1/lastSuccessfulBuild/artifact/rpms/x86_64/subscription-manager.rpm --no-check-certificate pms/x86_64/subscription-manager.rpm --no-check-certificate --2022-04-19 11:25:41-- https://prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com/view/QE-RPMs/job/rhsm_RHEL9.1/lastSuccessfulBuild/artifact/rpms/x86_64/subscription-manager.rpm Resolving prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com (prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com)... 10.0.180.86 Connecting to prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com (prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com)|10.0.180.86|:443... connected. WARNING: The certificate of ‘prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com’ is not trusted. WARNING: The certificate of ‘prod-jenkins-csb-rhsm.apps.ocp-c1.prod.psi.redhat.com’ doesn't have a known issuer. HTTP request sent, awaiting response... 200 OK Length: 792477 (774K) [application/x-rpm] Saving to: ‘subscription-manager.rpm’ subscription-manager.rpm 100%[=================================================>] 773.90K 833KB/s in 0.9s 2022-04-19 11:25:43 (833 KB/s) - ‘subscription-manager.rpm’ saved [792477/792477] [root@kvm-02-guest10 ~]# rpm2cpio subscription-manager.rpm | cpio -idmv --no-absolute-filenames . . . 6835 blocks [root@kvm-02-guest10 ~]# grep -nH 'Set to 1' etc/rhsm/rhsm.conf etc/rhsm/rhsm.conf:14:# Set to 1 to disable certificate validation: etc/rhsm/rhsm.conf:93:# Set to 1 when rhsmcertd should attempt automatic registration. --> typo corrected, PASSED Verifying on : ============= # subscription-manager version server type: This system is currently not registered. subscription management server: 4.0.18-2 subscription management rules: 5.41 subscription-manager: 1.29.29-1.el9 # rpm -qa subscription-manager --changelog | grep 2059631 - 2059631: rhsm.conf: fix typo in comment (ptoscano) - 2059631: rhsm.conf: fix typo in comment (ptoscano) # grep "rhsmcerd" /etc/rhsm/rhsm.conf -A3 ˆ^No match for the typo # grep -nH 'Set to 1' /etc/rhsm/rhsm.conf /etc/rhsm/rhsm.conf:14:# Set to 1 to disable certificate validation: /etc/rhsm/rhsm.conf:96:# Set to 1 when rhsmcertd should attempt automatic registration. ˆ^String is fixed . Moving the bug to verified !! 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-2022:8341 |
Description of problem: The description word "rhsmcerd" found in the rhsm.conf file is a typo and should be corrected to "rhsmcertd". Version-Release number of selected component (if applicable): [root@koza-2 ~]# rpm -q subscription-manager subscription-manager-1.29.26-1.el9.x86_64 [root@ibm-x3650m4-01-vm-12 ~]# rpm -q subscription-manager subscription-manager-1.28.28-1.el8.x86_64 <=== also affects rhel8 build How reproducible: Steps to Reproduce: [root@koza-2 ~]# grep "rhsmcerd" /etc/rhsm/rhsm.conf -A3 # Set to 1, when rhsmcerd will try to do automatic registration. # Setting this option make sense only on machines running on public # clouds. Currently only AWS, Azure and GCP are supported auto_registration = 0 Actual results: # Set to 1, when rhsmcerd will try to do automatic registration. ^^^^^^^^ Expected results: # Set to 1, when rhsmcertd will try to do automatic registration. ^^^^^^^^^ Additional info: