Bug 722245 - [RFE]Proxy support required for RHUI Manager
Summary: [RFE]Proxy support required for RHUI Manager
Keywords:
Status: CLOSED DUPLICATE of bug 824940
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: wes hayutin
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 17:57 UTC by Kedar Bidarkar
Modified: 2012-08-07 15:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 15:27:53 UTC
Target Upstream Version:


Attachments (Terms of Use)
Disproving screen log (13.25 KB, text/plain)
2012-08-02 09:06 UTC, mkovacik
no flags Details

Description Kedar Bidarkar 2011-07-14 17:57:45 UTC
Description of problem:
Currently proxy support is only valid for
1) RHUA to CDN
2) RHUI-Manager to CDN (when adding a new red hat channel and it retrieves the listings)

rhui manager to connect through a proxy to the RHUA, is just not supported in 2.0

Moving forward proxy support is required for the above.

Version-Release number of selected component (if applicable):
pulp- 204 and rh-rhui-tools 2.0.37

How reproducible:
loggging into rhui-manager with proxy settings.

Steps to Reproduce:
1. Use proxy
2.
3.
  
Actual results:
RHUI-Manager has no support for proxy.

Expected results:
RHUI-Manager requires proxy support.

Additional info:

Comment 1 Kedar Bidarkar 2011-07-14 18:22:00 UTC
I missed the traceback , 

[root@dhcp201-102 rhui2]# rhui-manager
Previous authentication credentials could not be found. Logging into
the RHUI.

If this is the first time using the RHUI, it is recommended to change
the user's password in the User Management section of RHUI Tools.

RHUI Username: admin
RHUI Password: 
Traceback (most recent call last):
  File "/usr/bin/rhui-manager", line 16, in <module>
    rhui.tools.launcher.main()
  File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 317, in main
    pulp_api = _pulp_api(config, prompt, values.username, values.password)
  File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 115, in _pulp_api
    auth.login(pulp_api, prompt)
  File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 69, in login
    cert_pem = _login(pulp, prompt)
  File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 116, in _login
    cert_pem = pulp.login(username, password)
  File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 93, in login
    cert_dict = self.user_api.admin_certificate()
  File "/usr/lib/python2.6/site-packages/pulp/client/api/user.py", line 51, in admin_certificate
    return self.server.GET(path)[1]
  File "/usr/lib/python2.6/site-packages/pulp/client/server.py", line 298, in GET
    return self._request('GET', path, queries)
  File "/usr/lib/python2.6/site-packages/pulp/client/server.py", line 252, in _request
    connection.request(method, url, body=body, headers=self.headers)
  File "/usr/lib64/python2.6/httplib.py", line 910, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.6/httplib.py", line 947, in _send_request
    self.endheaders()
  File "/usr/lib64/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib64/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib64/python2.6/httplib.py", line 1108, in connect
    sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/usr/lib64/python2.6/socket.py", line 514, in create_connection
    raise error, msg
socket.error: [Errno 111] Connection refused

Comment 2 wes hayutin 2012-06-11 20:57:54 UTC
This is provided if you set the proxy in /etc/rhui/rhui-tools.conf 
The new setup should take care of this for you if proxy is included in the answer file.

Comment 3 mkovacik 2012-08-02 09:06:06 UTC
Created attachment 601905 [details]
Disproving screen log

Updating answers.txt proxy settings doesn't propagate to rhui-tools.conf file. See the screen log attached.

Version: rh-rhui-tools: 2.0.68; Build: RHEL-6.3-RHUI-2.1-20120705.0-Server-x86_64-DVD1.iso

Status -> ON_DEV

Comment 4 wes hayutin 2012-08-07 15:27:53 UTC

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


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