Bug 1382791

Summary: Can't push image to registry if disable the content-offload feature
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: Image RegistryAssignee: Michal Fojtik <mfojtik>
Status: CLOSED NEXTRELEASE QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.1CC: abhgupta, aos-bugs, miminar, tdawson, wsun, xtian, yinzhou
Target Milestone: ---   
Target Release: 3.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1348031 Environment:
Last Closed: 2016-12-14 19:40: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:
Bug Depends On: 1348031    
Bug Blocks:    

Comment 2 zhou ying 2016-10-09 05:49:50 UTC
Confirmed with latest ocp , the issue has fixed:
[root@openshift-121 master]# openshift version
openshift v3.2.1.16
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5


[root@openshift-121 master]# oc env po docker-registry-8-5lun3 --list
# pods docker-registry-8-5lun3, container registry
REGISTRY_HTTP_ADDR=:5000
REGISTRY_HTTP_NET=tcp
REGISTRY_STORAGE_REDIRECT_DISABLE=true



[root@zhouy testjson]# oc logs -f bc/ruby-ex
I1009 01:46:24.746990       1 builder.go:57] Master version "v3.2.1.16", Builder version "v3.2.1.16"
I1009 01:46:24.765262       1 builder.go:145] Running build with cgroup limits: 
........
I1009 01:46:52.891738       1 sti.go:268] Using provided push secret for pushing 172.30.216.221:5000/zhouy/ruby-ex:latest image
I1009 01:46:52.891770       1 sti.go:272] Pushing 172.30.216.221:5000/zhouy/ruby-ex:latest image ...
I1009 01:46:55.396559       1 sti.go:288] Successfully pushed 172.30.216.221:5000/zhouy/ruby-ex:latest

Comment 4 Scott Dodson 2016-12-14 19:40:46 UTC
This bug has been fixed in OCP 3.3 however the fix will not be backported to OSE 3.2.