Bug 771749 - Traceback when adding nonexistent channel with rhn-channel
Summary: Traceback when adding nonexistent channel with rhn-channel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhn-client-tools
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Milan Zázrivec
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: 839935
TreeView+ depends on / blocked
 
Reported: 2012-01-04 20:27 UTC by Jan Hutař
Modified: 2013-01-08 07:45 UTC (History)
3 users (show)

Fixed In Version: rhn-client-tools-0.4.20-78.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 839935 (view as bug list)
Environment:
Last Closed: 2013-01-08 07:45:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0104 0 normal SHIPPED_LIVE rhn-client-tools bug fix and enhancement update 2013-01-07 15:26:13 UTC

Description Jan Hutař 2012-01-04 20:27:36 UTC
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.
[...]

Comment 1 RHEL Program Management 2012-01-09 14:56:26 UTC
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.

Comment 3 RHEL Program Management 2012-04-02 10:51:40 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.

Comment 4 Jan Pazdziora (Red Hat) 2012-07-13 08:15:55 UTC
Fixed in Spacewalk master, 7fc29208a8b8e00f8333709a0e0f4dc63c8269d9.

Comment 11 errata-xmlrpc 2013-01-08 07:45:05 UTC
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


Note You need to log in before you can comment on or make changes to this bug.