Bug 796076 - rhn-channel fails to list available channels when connected through Proxy through IPv6
Summary: rhn-channel fails to list available channels when connected through Proxy thr...
Keywords:
Status: CLOSED DUPLICATE of bug 671133
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space17 790326
TreeView+ depends on / blocked
 
Reported: 2012-02-22 08:54 UTC by Jan Hutař
Modified: 2012-03-07 10:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-22 15:55:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2012-02-22 08:54:59 UTC
Description of problem:
I have system connected to SW 1.6 through SW Proxy 1.6, all on IPv6 network. rhn-channel utility works (add, remove, list), only its "--available-channels" fails with traceback.


Version-Release number of selected component (if applicable):
rhn-setup-1.6.47-1.el5


How reproducible:
1 of 1


Steps to Reproduce:
1. # rhn-channel -u ... -p ... -L


Actual results:
Only "-L" fails:

# rhn-channel -u admin -p nimda -l
rhel-x86_64-server-5
# rhn-channel -u admin -p nimda -a -c rhn-tools-rhel-x86_64-server-5
# echo $?
0
# rhn-channel -u admin -p nimda -L
Traceback (most recent call last):
  File "/usr/sbin/rhn-channel", line 155, in ?
    main()
  File "/usr/sbin/rhn-channel", line 147, in main
    channels = get_available_channels(OPTIONS.user, OPTIONS.password)
  File "/usr/sbin/rhn-channel", line 93, in get_available_channels
    key = client.auth.login(user, password)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders
    self._send_output()
  File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.4/httplib.py", line 652, in send
    self.connect()
  File "/usr/lib64/python2.4/httplib.py", line 1078, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
socket.gaierror: (-2, 'Name or service not known')


Expected results:
Should work

Comment 2 Milan Zázrivec 2012-02-22 15:55:55 UTC

*** This bug has been marked as a duplicate of bug 671133 ***


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