Bug 806958
Summary: | One empty certificate file in /etc/rhsm/ca causes registration failure | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeff Weiss <jweiss> |
Component: | python-rhsm | Assignee: | Alex Wood <awood> |
Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.7 | CC: | awood, bkearney, dajohnso, jmolet, jsefler |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: An unimplemented method in an error class.
Consequence: A traceback was being printed to the console obscuring an actual error message.
Fix: Implementing the missing method on the error class.
Result: The error message is now reported successfully.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-08 07:17:03 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: | 771748 |
Description
Jeff Weiss
2012-03-26 15:31:51 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. To reproduce this error, make sure that insecure = 0 in /etc/rhsm/rhsm.conf. Otherwise the request method won't even look at the CA certificates. commit e08b0ec3062ba0a40b35c2b6eb961eec8b420eab Author: Alex Wood <awood> Date: Fri May 18 15:59:31 2012 -0400 806958: BadCertificateException not displaying properly. The __str__ function added to BadCertificateException does not need to be internationalized since this message should only appear in the logs. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Version: python-rhsm-1.0.2-1.git.1.4659671.el5 subscription-manager-1.0.4-1.git.3.1768f90.el5 [root@jmolet-vm0 rhsm]# touch /etc/rhsm/ca/myemptycert.pem [root@jmolet-vm0 rhsm]# cat rhsm.conf | grep insecure insecure=0 [root@jmolet-vm0 rhsm]# subscription-manager register Username: testuser1 Password: Bad CA certificate: /etc/rhsm/ca/myemptycert.pem ^^^ [root@jmolet-vm0 rhsm]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. This appears to print out a nicer error and not stack trace and then fails gracefully. marking 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-2013-0039.html |