Hide Forgot
Created attachment 1208029 [details] output of bootstrap.py on a host with a proxy setting in yum.conf Description of problem: When a proxy is specified in yum.conf, the bootstrap.py script fails to complete. The proxy is not needed to reach the Sat6 instance. Version-Release number of selected component (if applicable): Satellite 6.2.2 How reproducible: tried once Steps to Reproduce: 1. prepare a host-group, activation-key to register a rhel7 2. try to register the host to the sat6 instance via bootstrap.py (proxy is set in yum.conf) 3. bootstrap.py fails, cannot download packages. Actual results: bootstrap.py script fails when a proxy in yum.conf is specified. But it also fails to take action, either inform that there is an unneeded proxy is setup in yum.conf or to remove/comment the proxy setting in yum.conf. Expected results: detect/be aware that there is a proxy specified in yum.conf the proxy is not needed to reach the satellite (otherwise the bootstrap.py script would not have executed up to the point it fails). remove the proxy setting from yum.conf (sat6 should use rhsm.conf --and normally without proxy-- ?) Additional info: * host was registered to a previous sat5 * host has a proxy in yum.conf (and no proxy in rhsm.conf) * Once the proxy setting is removed, the script completes ok.
if the user has a proxy defined in yum.conf (or in /etc/sysconfig/rhn/up2date), I think a reasonable default would to 'carry over' that configuration and add it to rhsm.conf. Bootstrap.py can take a system from RHN->Sat6, Sat5->Sat6, and I cannot guarantee that a proxy that was used previously is (or isn't) still valid. Additionally, I can see giving the user the ability to override the defaults to set a different proxy, or no proxy at all (which in that case, we'd remove the proxy from yum.conf)
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.