Bug 796076

Summary: rhn-channel fails to list available channels when connected through Proxy through IPv6
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: ClientsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 15:55:55 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: 765736, 790326    

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 ***