Bug 1540404

Summary: Installer missing Kubernetes ClusterIP in docker-registry NO_PROXY
Product: OpenShift Container Platform Reporter: Takayoshi Kimura <tkimura>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-07 13:33:04 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 Takayoshi Kimura 2018-01-31 01:19:33 UTC
Description of problem:

When installer configures proxy on docker-registry, Kubernetes ClusterIP is missing in the NO_PROXY. The docker-registry failed to talk to Kubernetes because of this configuration.

Version-Release number of the following components:

$ rpm -q openshift-ansible
openshift-ansible-3.7.14-1.git.0.4b35b2d.el7.noarch
$ rpm -q ansible
ansible-2.4.1.0-1.el7.noarch
$ ansible --version
ansible 2.4.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/nekop/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]

How reproducible:

Always in proxy env

Steps to Reproduce:
1.
2.
3.

Actual results:

docker-registry NO_PROXY doesn't have Kubernetes ClusterIP. Docker login fails because the registry cannot talk to the master for auth.

Expected results:

Docker login succeeds, docker-registry NO_PROXY has Kubernetes ClusterIP.

Additional info:

Comment 2 Scott Dodson 2018-02-07 13:33:04 UTC
Also, https://bugzilla.redhat.com/show_bug.cgi?id=1511870 for 3.7 backport of bug 1527210

*** This bug has been marked as a duplicate of bug 1527210 ***