Bug 1341713

Summary: Have Katello-installer check to see if there is a proxy env set before running
Product: Red Hat Satellite Reporter: Chris Roberts <chrobert>
Component: InstallationAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Justin Sherrill <jsherril>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.8CC: bbuckingham, cwelton, jsherril
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/14956
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:44:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Roberts 2016-06-01 14:51:48 UTC
Description of problem:
Many times a user will have a http/s proxy set in their bash ENV and when wget runs for Candlepin to check the services the installer will bomb out. Please add a check to make the installer let a person know there is a proxy set before running and resulting in a error.

Version-Release number of selected component (if applicable):
6.1/6.2

How reproducible:


Steps to Reproduce:
1. set http/https proxy env 
2. run katello-installer 
3. watch it bomb out

Actual results:
wget fails on candlepin check which causes installer to fail

Expected results:
an error telling me i have a proxy env set

Additional info:

Comment 1 Chris Roberts 2016-06-01 14:56:41 UTC
PR: https://github.com/Katello/katello-installer/pull/353

Comment 3 Brad Buckingham 2016-06-01 18:11:55 UTC
*** Bug 1334118 has been marked as a duplicate of this bug. ***

Comment 4 Justin Sherrill 2017-08-09 19:59:56 UTC
Verified on snap 10:

[root@jsherrill-test ~]# http_proxy=http://foobar.com:9934  satellite-installer --disable-system-checks
Please unset the following environment variables before running the installer: http_proxy, https_proxy, ssl_cert_file
Your system does not meet configuration criteria
[root@jsherrill-test ~]# https_proxy=http://foobar.com:9934  satellite-installer --disable-system-checks
Please unset the following environment variables before running the installer: http_proxy, https_proxy, ssl_cert_file
Your system does not meet configuration criteria

Comment 5 Satellite Program 2018-02-21 16:44:36 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336