Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1384753

Summary: Support openshift_builddefaults_git_no_proxy with ansible installer to enable no_proxy setting for git cloning
Product: OpenShift Container Platform Reporter: Kenjiro Nakayama <knakayam>
Component: InstallerAssignee: Ben Parees <bparees>
Status: CLOSED ERRATA QA Contact: Gan Huang <ghuang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, ghuang, jokerman, mmccomas, myllynen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: gitNoProxy default value for builds can now be set explicitly via the installer. Reason: Previously the value was inherited from the no_proxy settings for the installer which was insufficiently configurable. Result: The build default gitNoProxy value can now be directly controlled by the openshift_builddefaults_git_no_proxy setting.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-12 18:47:52 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: 1384750    
Bug Blocks:    

Description Kenjiro Nakayama 2016-10-14 04:51:13 UTC
Description of problem:
===

  Support openshift_builddefaults_git_no_proxy with ansible installer to enable no_proxy setting for git cloning.
  ansible installer should support no_proxy setting for git clone in builder which has been implemented in https://github.com/openshift/origin/pull/10902 in the same way as openshift_builddefaults_http(s)_proxy

Version-Release number of selected component (if applicable):
===

  OCP 3.3

Comment 1 Scott Dodson 2016-10-18 15:10:15 UTC
This option only exists in 3.4 BTW.

Comment 2 Scott Dodson 2017-02-10 01:42:47 UTC
This is now set to match openshift_no_proxy value or if openshift_builddefaults_git_no_proxy is defined its value is preferred.

Comment 4 Gan Huang 2017-02-10 09:33:43 UTC
Verified with openshift-ansible-3.5.6-1.git.0.5e6099d.el7.noarch.rpm

1. openshift_builddefaults_git_https_proxy is not defined, the value of gitNoProxy inherits openshift_no_proxy value

2. gitNoProxy is set correctly if openshift_builddefaults_git_https_proxy is defined.

Comment 5 Ben Parees 2017-02-10 15:28:25 UTC
I assume by "openshift_builddefaults_git_https_proxy" you meant "openshift_builddefaults_git_no_proxy", correct?

Comment 6 Gan Huang 2017-02-11 14:13:17 UTC
(In reply to Ben Parees from comment #5)
> I assume by "openshift_builddefaults_git_https_proxy" you meant
> "openshift_builddefaults_git_no_proxy", correct?

Yes, my bad. Thanks for pointing it out. :)

Comment 8 errata-xmlrpc 2017-04-12 18:47:52 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/RHBA-2017:0903