Bug 1379633

Summary: Didn't support cross-repo mount when using docker 1.9
Product: OpenShift Container Platform Reporter: zhou ying <yinzhou>
Component: Image RegistryAssignee: Michal Minar <miminar>
Status: CLOSED NOTABUG QA Contact: Wei Sun <wsun>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs
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: 2016-09-30 15:06:45 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:

Description zhou ying 2016-09-27 09:24:27 UTC
Description of problem:
Firstly tag and push image 'openshift/hello-openshift:latest' to docker-registry/project/imagestream1, secondly  tag and push the same image to docker-registry/project/imagestream2, the data could be pushed to docker-registry,but the data shouldn't be pushed   for the second time.

Version-Release number of selected component (if applicable):
openshift v3.3.0.32
kubernetes v1.3.0+52492b4
etcd 2.3.0+git
docker 1.9.1

How reproducible:
Always

Steps to Reproduce:
1. Login OpenShift and create project;
2. Grant registry-admin role to user,  tag and push 'openshift/hello-openshift:latest' to the project;
  `docker tag openshift/hello-openshift:latest docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift:latest`
   `docker push docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift:latest`
3. Tag and push 'openshift/hello-openshift:latest' to the project as another imagestream;
 `docker tag openshift/hello-openshift:latest docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift1:latest`
  `docker push docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift1:latest`

Actual results:
3. The second  time also  push datas to docker-registry;

Expected results:
3. Should prompt the image only mounted from  the previous, don't push datas to docker-registry again.

Additional info:
No issue for docker 1.10

Comment 1 Michal Minar 2016-09-30 15:06:45 UTC
The support for cross-repository mount has been added to docker 1.10. It won't ever work with docker version prior to 1.10.

Closing this.