Bug 1331346

Summary: [Behind Proxy] Global proxy settings are written with incorrect format in master-config.yaml file
Product: OpenShift Container Platform Reporter: Gan Huang <ghuang>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The intaller's global proxy configuration support did not correctly configure the BuildDefaults admission controller. The installer has been updated to properly configure the BuildDefaults admission controller.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-07 10:55:46 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 Gan Huang 2016-04-28 10:50:04 UTC
Description of problem:
Failed to new app under proxy env with global proxy settings after installation.

Version-Release number of selected component (if applicable):
openshift-ansible-3.0.87-1.git.0.7f67d5d.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1.Prepare instances which disable the internet connection.
2.Add global proxy settings in inventory hosts file
3.Run "ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml"
4.Try to do sti-build

Actual results:
Faild when doing sti-build.


Expected results:
Global proxy settings are written with correct format in master-config.yaml file
New app successfully,

Additional info:
Modify master-config.yaml file according to https://docs.openshift.org/latest/install_config/build_defaults_overrides.html#setting-global-build-defaults, I could new app successfully.

Comment 3 Scott Dodson 2016-04-28 20:50:32 UTC
Proposed fix https://github.com/openshift/openshift-ansible/pull/1835

Comment 6 Gan Huang 2016-05-18 08:17:46 UTC
Verified with openshift-ansible-3.0.90-1.git.0.a077b68.el7.noarch.

Both above scenarios work well.

Comment 8 errata-xmlrpc 2016-06-07 10:55:46 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-2016:1208