RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1389442 - docker-1.12 can not pull image:tag from brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888
Summary: docker-1.12 can not pull image:tag from brew-pulp-docker01.web.prod.ext.phx2....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-27 15:14 UTC by Johnny Liu
Modified: 2019-03-06 00:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 20:43:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0116 0 normal SHIPPED_LIVE Moderate: docker security, bug fix, and enhancement update 2017-01-18 01:39:43 UTC

Description Johnny Liu 2016-10-27 15:14:34 UTC
Description of problem:
docker-1.12 can not pull image with a specified tag, but not "latest" tag from brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888.

# docker pull brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod:v3.4.0.16
Trying to pull repository brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod ...
unsupported manifest media type application/x-troff-man

# docker pull brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod:latest
Trying to pull repository brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod ...
sha256:aba8ab879231209de3cbaeef34ae01079d7501cd0555bfaed8dad43b81d5c14e: Pulling from brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod

30cf2e26a24f: Already exists
99dd41655d8a: Already exists
6ec4b7d7ee9c: Pull complete
Digest: sha256:aba8ab879231209de3cbaeef34ae01079d7501cd0555bfaed8dad43b81d5c14e

# docker pull registry.ops.openshift.com/openshift3/ose-pod:v3.4.0.16
Trying to pull repository registry.ops.openshift.com/openshift3/ose-pod ...
sha256:f5103983d316a39194370af7127da9e477c7ea7cbe85fc9519a0fac95a6c5095: Pulling from registry.ops.openshift.com/openshift3/ose-pod

30cf2e26a24f: Already exists
99dd41655d8a: Already exists
e181bad649a9: Pull complete
Digest: sha256:f5103983d316a39194370af7127da9e477c7ea7cbe85fc9519a0fac95a6c5095
Status: Downloaded newer image for registry.ops.openshift.com/openshift3/ose-pod:v3.4.0.16

docker-1.10.3-46.el7.10.x86_64 works well.

Version-Release number of selected component (if applicable):
docker-1.12.1-6.el7

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Antonio Murdaca 2016-10-27 15:56:14 UTC
I'm on it

Comment 3 Antonio Murdaca 2016-10-27 16:37:17 UTC
Fixed into this PR https://github.com/containers/image/pull/139
Waiting to merge that now, then rebuild for RHEL.

Comment 4 Antonio Murdaca 2016-10-27 16:42:04 UTC
(In reply to Antonio Murdaca from comment #3)
> Fixed into this PR https://github.com/containers/image/pull/139
> Waiting to merge that now, then rebuild for RHEL.

No rebuild for RHEL, first I need to re-vendor containers/image into our projectatomic/docker, then we'll rebuild for RHEL

Comment 5 Miloslav Trmač 2016-10-27 17:15:22 UTC
(Note that we can have a short-term fix, but this will completely prevent support for schema2 and manifest lists and the like. Both containers/image and docker seem to need need registries to report the correct MIME types.)

Comment 6 Antonio Murdaca 2016-10-27 17:46:59 UTC
(In reply to Miloslav Trmač from comment #5)
> (Note that we can have a short-term fix, but this will completely prevent
> support for schema2 and manifest lists and the like. Both containers/image
> and docker seem to need need registries to report the correct MIME types.)

Right, from now on, probably, those bugs need to target crane and pulp instead since we'll follow what docker does.

Comment 7 Antonio Murdaca 2016-10-28 17:16:15 UTC
docker branches fixed - assigning to Lokesh to rebuild in RHEL

Comment 8 Daniel Walsh 2016-10-28 18:20:25 UTC
Fixed in docker-1.12.3

Comment 10 Johnny Liu 2016-10-31 03:37:56 UTC
Re-test this bug with docker-1.12.3-1.el7.x86_64, still reproduce.

# docker pull brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod:v3.4.0.16
Trying to pull repository brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-pod ... 
unsupported manifest media type application/x-troff-man



docker-common-1.12.3-1.el7.x86_64
docker-1.12.3-1.el7.x86_64
docker-rhel-push-plugin-1.12.3-1.el7.x86_64
libselinux-2.5-6.el7.x86_64
libselinux-utils-2.5-6.el7.x86_64
libselinux-python-2.5-6.el7.x86_64
selinux-policy-targeted-3.13.1-102.el7.noarch
container-selinux-1.12.3-1.el7.x86_64
selinux-policy-3.13.1-102.el7.noarch

Comment 11 Antonio Murdaca 2016-10-31 06:57:25 UTC
There must be an issue with packaging because I cannot reproduce building Docker from https://github.com/projectatomic/docker/commit/91ae1d15a5fee546a41c0442a4b33ad4f7a9fdf6 which is into docker-1.12.3 branch.

Comment 12 Antonio Murdaca 2016-10-31 08:03:34 UTC
dist git in RHEL for docker is wrong, this patch will likely fix this issue:

diff --git a/docker.spec b/docker.spec
index bd40f6d..18ed1bd 100644
--- a/docker.spec
+++ b/docker.spec
@@ -21,7 +21,7 @@

 # docker
 %global git0 https://github.com/projectatomic/docker
-%global commit0 5759a0805380f1067386e87b64f0e27ed818be27
+%global commit0 91ae1d15a5fee546a41c0442a4b33ad4f7a9fdf6
 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
 # docker_branch used in %%check
 %global docker_branch docker-1.12.3
@@ -64,7 +64,7 @@

 # docker-containerd
 %global git9 https://github.com/docker/containerd
-%global commit9 0ac3cd1be170d180b2baed755e8f0da547ceb267
+%global commit9 b818e749726ba18e430bb825396c85408dfaf2a4
 %global shortcommit9 %(c=%{commit9}; echo ${c:0:7})

 # %%{name}-selinux stuff (prefix with ds_ for version/release etc.)

Comment 13 Johnny Liu 2016-11-03 07:14:42 UTC
This issue disappeared on docker-1.12.3-2.el7.x86_64.

Comment 14 Scott Dodson 2016-11-09 16:24:10 UTC
Confirmed, I hit it on docker-1.12.3-1.el7.x86_64 and problem is gone in 1:1.12.3-4.el7

Comment 15 Luwen Su 2016-11-12 09:02:23 UTC
Per comment#13 and #14 , move to verified

Comment 17 errata-xmlrpc 2017-01-17 20:43:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0116.html


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