Red Hat Bugzilla – Bug 664775
rhsm in firstboot ignores proxy
Last modified: 2013-01-10 05:48:20 EST
Description of problem:
When registering in rhsm during firstboot, the connection will ignore the proxy even if one is selected, and will attempt to directly connect to the candlepin server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install subscription manager and all its deps on a rhel6 server
2. run firstboot
3. Hit Forward
4. Select "Register with Red Hat Entitlement Service" and hit Forward
5. Enter in your candlepin user/pass (on the 'Entitlement Registration' step)
6. Select Proxy Configuration, and enter in the information to your proxy.
7. Hit Forward.
The registration ignores the proxy settings and tries to connect directly to the candlepin server, bypassing the proxy. The rhsm.log shows that a direct connection was made, and the proxy server log doesn't log any access requests.
The connection would be made through the proxy.
I have a potential fix for this. I say potential, because I haven't actually reproduced this in firstboot, but could trigger something similar in the gui (and
it feels like the same issue).
Author: Adrian Likins <firstname.lastname@example.org>
Date: Wed Jan 5 14:16:39 2011 -0500
664775: potential fix for proxy being ignored in firstboot
In the gui, the admin uep wasn't getting created with proxy info,
so wasn't being used for registration. Fix that, as well as cleaning
up some of the Backend() code for sharing of uep's.
Fixed as tested with above versions ^
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.