| Summary: | [RFE]Proxy support required for RHUI Manager | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Kedar Bidarkar <kbidarka> | ||||
| Component: | Tools | Assignee: | wes hayutin <whayutin> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | mkovacik | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.1 | CC: | jslagle, kbidarka, sghai, tsanders | ||||
| 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-08-07 15:27:53 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Kedar Bidarkar
2011-07-14 17:57:45 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
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. 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
*** This bug has been marked as a duplicate of bug 824940 *** |