Bug 1575050

Summary: docker-registry pod does not uniformly use hostnames - docker push fails with proxy config[backport]
Product: OpenShift Container Platform Reporter: mmariyan
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: unspecified    
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-05-08 14:24:57 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 mmariyan 2018-05-04 15:51:51 UTC
Description of problem:

Its regarding the Bugzilla[0]its reported in 3.6 and the fix is available for 3.9! is there bugfix is available for 3.7 version?

[0]https://bugzilla.redhat.com/show_bug.cgi?id=1504464

Comment 1 Scott Dodson 2018-05-08 14:21:04 UTC
Yes, openshift-ansible-3.7.31-1 and later should add the kubernetes service address to the no_proxy list for the registry. If for any reason this has not been done you can edit the environment variable and append the kube service ip address like so:

oc env dc/docker-registry NO_PROXY=172.30.0.1,cluster.local,etc

Comment 2 Scott Dodson 2018-05-08 14:24:57 UTC

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