Hide Forgot
Description of problem: BZ created based on info in bug 1386615. When using rhn-custom-info with no certificate in path specified by /etc/sysconfig/rhn/up2date in its sslCACert directive, an exception is raised about wrongly raised exception (raising a string rather than Exception object). How reproducible: Always Steps to Reproduce: 1. rm $PATH_TO_CERT 2. rhn-custom-info -u admin -p pass -s https://${HOSTNAME}/rpc/api key val Traceback (most recent call last): File "/usr/bin/rhn-custom-info", line 255, in <module> main() File "/usr/bin/rhn-custom-info", line 212, in main s = create_server_obj(url) File "/usr/bin/rhn-custom-info", line 81, in create_server_obj raise "could not find cert %s" % ca_cert TypeError: exceptions must be old-style classes or derived from BaseException, not str Actual results: Exception about incorrectly raised exception Expected results: Exception about no cert found
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog. This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.