Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1279373

Summary: docker returns 404 for tagged pull from private registry. (Sat6)
Product: Red Hat Satellite Reporter: Christophe Augello <caugello>
Component: Container ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.3CC: lsm5, mmccune
Target Milestone: UnspecifiedKeywords: Extras
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:50:22 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 Christophe Augello 2015-11-09 10:15:49 UTC
Description of problem:

Tagged pull from a private registry returns 404 Not found.
docker pull -a from same registry pulls the image including the tagged one.

Version-Release number of selected component (if applicable):

docker-1.8.2-7.el7.x86_64 

How reproducible:

Always

Steps to Reproduce:
1. setup private registry 
2. pull tagged image
~~~
[root@docker ~]# docker pull satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel:7.1-9
Trying to pull repository satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel ... not found
Tag 7.1-9 not found in repository satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel
~~~

3. downgrade docker and pull
~~~
root@docker ~]# yum downgrade docker
<snip>
Removed:
  docker.x86_64 0:1.8.2-7.el7                                                                                                                                                                 
<snip>
Installed:
  docker.x86_64 0:1.7.1-115.el7   

[root@docker ~]# docker pull satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel:7.1-9
Trying to pull repository satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel ...
e3c92c6cff35: Download complete 
Status: Downloaded newer image for satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel:7.1-9                                    
~~

Actual results:

Tagged pull returns 404 not found.

Expected results:

Success full tagged pull as with docker-1.7.1-115.

Additional info:

Comment 2 Daniel Walsh 2015-11-09 12:42:04 UTC
Michal any ideas?

Comment 3 Christophe Augello 2015-11-10 10:03:50 UTC
Seems to come from pulp-crane plugin.
Issue seems to be solved after applying 
https://github.com/pulp/crane/commit/d4ef8967901651680e0febd3ff54333c86fafed0

[root@docker ~]# rpm -qa | grep docker
docker-selinux-1.8.2-7.el7.x86_64
docker-1.8.2-7.el7.x86_64
docker-registry-0.9.1-7.el7.x86_64

[root@docker ~]# docker pull satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel:7.1-9
Trying to pull repository satellite:5000/red_hat-engineering-ccv-rhel7-docker_ie3c92c6cff35: Pulling image (7.1-9) from satellite:5000/red_hat-engineering-ccve3c92c6cff35: Pulling image (7.1-9) from satellite:5000/red_hat-engineering-ccve3c92c6cff35: Download complete 
Status: Downloaded newer image for satellite:5000/red_hat-engineering-ccv-rhel7-docker_image1-rhel:7.1-9

Comment 4 Mike McCune 2015-11-17 18:50:22 UTC

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