Bug 1083818

Summary: katello-installer does not include options to specify a http proxy configuration
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: InstallationAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.4CC: achan, aupadhye, bkearney, cwelton, ehelms, jmontleo, jsherril, xdmoon, yassersaleemi
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5639
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:20:40 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:
Bug Depends On: 1117410    
Bug Blocks: 985106, 1044558    

Description Mike McCune 2014-04-03 03:44:04 UTC
The older katello-configure included options to configure Katello and associated components to setup the Satellite to access the internet via a proxy:

   --proxy-url=PROXY_URL
      --proxy-port=PROXY_PORT
      --proxy-user=PROXY_USER
           HTTP Proxy user (proxy username, if auth is required)
      --proxy-pass=PROXY_PASS
           HTTP Proxy pass (proxy password, if auth is required)

if you look at katello-installer we no longer have these options exposed:

# katello-installer --help |grep proxy
    --capsule-foreman-proxy-port  Port on which will foreman proxy listen (default: 9090)
    --capsule-register-in-foreman  Register proxy back in Foreman (default: true)

we definitely need these a good percentage (guessing 25%+) use a proxy to access the internet.

Comment 3 Justin Sherrill 2014-05-08 18:55:31 UTC
downstream issue  http://projects.theforeman.org/issues/5639

Eric, do you know what they would likely look like?

Comment 5 Justin Sherrill 2014-06-06 21:00:58 UTC
Note that the proxy is set in 4 places, and ideally would be a single parameter for all 4:


yum_importer
iso_importer
puppet_importer


cdn_proxy  in katello.yml

Comment 6 Justin Sherrill 2014-06-06 21:26:08 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=985106 for more info (although i would ignore the first parts of the bz)


For iso importer:

 cat  /etc/pulp/server/plugins.conf.d/iso_importer.json

{
  "proxy_host" : "http://localhost",
  "proxy_port" : 8118,
  "proxy_username": 'admin',
  "proxy_password":  'password'
}


For yum importer:

cat /etc/pulp/server/plugins.conf.d/yum_importer.json


{
    "proxy_host" : "http://localhost",
    "proxy_port" : 8118,
    "proxy_username": 'admin',
    "proxy_password":  'password'
}


and there would be one for puppet_importer too.  


Here's the PR that added the yum importer originally https://github.com/Katello/katello-installer-legacy/pull/58/files

Comment 7 Justin Sherrill 2014-06-06 21:26:37 UTC
Also, tips on testing:  https://fedorahosted.org/katello/wiki/ProxyTesting

Comment 8 Eric Helms 2014-06-09 22:13:25 UTC
Created redmine issue http://projects.theforeman.org/issues/6132 from this bug

Comment 9 Eric Helms 2014-06-09 22:16:41 UTC
Connecting redmine issue http://projects.theforeman.org/issues/5639 from this bug

Comment 10 Mike McCune 2014-06-16 21:32:44 UTC
*** Bug 985106 has been marked as a duplicate of this bug. ***

Comment 11 Mike McCune 2014-06-16 21:42:17 UTC
*** Bug 1031161 has been marked as a duplicate of this bug. ***

Comment 17 Mike McCune 2014-06-27 18:26:23 UTC
Tested this in SNAP10, works fine.

Comment 18 Bryan Kearney 2014-07-02 14:05:48 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 22 Bryan Kearney 2014-09-11 12:20:40 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.