Description of problem: When I have tried to (accidentally) add nonexistent channel with rhn-channel, I got a traceback. Version-Release number of selected component (if applicable): rhn-setup-0.4.20-75.el5 How reproducible: always Steps to Reproduce: 1. # rhn-channel -a -c this-channel-do-not-exist -u correct-username -p correct-password Actual results: Traceback (most recent call last): File "/usr/sbin/rhn-channel", line 120, in ? systemExit(1, e) File "/usr/sbin/rhn-channel", line 25, in systemExit if msgs: TypeError: 'NoneType' object is not callable Expected results: Error message like this one: Error Message: Channel this-channel-do-not-exist does not exist? Error Class Code: 39 Error Class Info: The system is not currently subscribed to the specified channel. [...]
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.8 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug.
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.
Fixed in Spacewalk master, 7fc29208a8b8e00f8333709a0e0f4dc63c8269d9.
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-0104.html