Bug 723336
| Summary: | regression - traceback thrown in /usr/libexec/rhsmd | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | spandey |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 17:22:35 UTC | Type: | --- |
| 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: | 682238 | ||
Fixed in master at 2f732a0184bc51d02cb4c9bae51ec150b4f68922 Verifying Version... [root@jsefler-onprem-62server ~]# rpm -q subscription-manager subscription-manager-0.96.4-1.git.54.5de26be.el6.x86_64 [root@jsefler-onprem-62server ~]# subscription-manager facts --list | grep entitlements_valid system.entitlements_valid: False [root@jsefler-onprem-62server ~]# /usr/libexec/rhsmd -s -d System has one or more certificates that are not valid ['100000000000006', '1144', '100000000000011', '100000000000010', '100000000000013', '100000000000012', '100000000000015', '27060', '37090', '1', '37069', '37068', '37080', '37065', '37067', '37060', '37062', '100000000000060', '100000000000007', '100000000000004', '100000000000005', '100000000000002', '100000000000003', '100000000000000', '100000000000001', '100000000000020', '100000000000022', '100000000000009', '100000000000008', '917571', '37070'] [] [root@jsefler-onprem-62server ~]# mkdir /tmp/empty [root@jsefler-onprem-62server ~]# sed -i s/productCertDir.*/productCertDir=\\/tmp\\/empty/g /etc/rhsm/rhsm.conf [root@jsefler-onprem-62server ~]# subscription-manager facts --list | grep entitlements_valid system.entitlements_valid: True [root@jsefler-onprem-62server ~]# /usr/libexec/rhsmd -s -d System entitlements appear valid moving 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1695.html |
Description of problem: This appears to be a recent regression in /usr/libexec/rhsmd. It is throwing a traceback.... [root@jsefler-onprem-62server ~]# /usr/libexec/rhsmd -s -d Traceback (most recent call last): File "/usr/libexec/rhsmd", line 181, in <module> main() File "/usr/libexec/rhsmd", line 152, in main status = check_status() File "/usr/libexec/rhsmd", line 68, in check_status sorter = certlib.CertSorter(certlib.ProductDirectory(), AttributeError: 'module' object has no attribute 'CertSorter' Version-Release number of selected component (if applicable): [root@jsefler-onprem-62server ~]# rpm -q subscription-manager subscription-manager-0.96.4-1.git.40.158de0a.el6.x86_64 [root@jsefler-onprem-62server ~]# rpm -q python-rhsm python-rhsm-0.96.7-1.git.3.f3ce5d1.el6.noarch How reproducible: Steps to Reproduce: [root@jsefler-onprem-62server ~]# subscription-manager facts --list | grep entitlements_valid system.entitlements_valid: False [root@jsefler-onprem-62server ~]# /usr/libexec/rhsmd -s -d Traceback (most recent call last): File "/usr/libexec/rhsmd", line 181, in <module> main() File "/usr/libexec/rhsmd", line 152, in main status = check_status() File "/usr/libexec/rhsmd", line 68, in check_status sorter = certlib.CertSorter(certlib.ProductDirectory(), AttributeError: 'module' object has no attribute 'CertSorter' Expected results: System has one or more certificates that are not valid [root@jsefler-onprem-62server ~]# mkdir /tmp/empty [root@jsefler-onprem-62server ~]# sed -i s/productCertDir.*/productCertDir=\\/tmp\\/empty/g /etc/rhsm/rhsm.conf [root@jsefler-onprem-62server ~]# subscription-manager facts --list | grep entitlements_valid system.entitlements_valid: True [root@jsefler-onprem-62server ~]# /usr/libexec/rhsmd -s -d Traceback (most recent call last): File "/usr/libexec/rhsmd", line 181, in <module> main() File "/usr/libexec/rhsmd", line 152, in main status = check_status() File "/usr/libexec/rhsmd", line 68, in check_status sorter = certlib.CertSorter(certlib.ProductDirectory(), AttributeError: 'module' object has no attribute 'CertSorter' Expected results: System entitlements appear valid Additional info: