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 - docker returns 404 for tagged pull from private registry. (Sat6)
Summary: docker returns 404 for tagged pull from private registry. (Sat6)
Keywords:
Status: CLOSED DUPLICATE of bug 1282431
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management
Version: 6.1.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-09 10:15 UTC by Christophe Augello
Modified: 2019-09-12 09:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-17 18:50:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.