Bug 1429849
| Summary: | Pull-through not working for registry.access.redhat.com images | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vladislav Walek <vwalek> |
| Component: | Image Registry | Assignee: | Michal Minar <miminar> |
| Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.4.1 | CC: | agladkov, aos-bugs, haowang, jswensso, mfojtik, miminar, sjr, vwalek |
| Target Milestone: | --- | ||
| Target Release: | 3.4.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Some registries (at least registry.access.redhat.com) don't allow for range requests on blobs or they reply with unexpected way.
Consequence: Integrated registry failed to serve blobs directly (using pull-through) from such registries because it required a seek-able stream.
Fix: Integrated registry now doesn't require the stream to be seek-able.
Result: Integrated registry can now serve blobs directly from remote registries using pull-through even if they don't support range requests.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-15 18:36:57 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
Vladislav Walek
2017-03-07 09:52:37 UTC
(In reply to Vladislav Walek from comment #0) > Description of problem: > > There is thread ongoing in openshift-sme mailing channel, but there is a > case for it. The main question is, there is github for origin 1.5 > https://github.com/openshift/origin/commit/ > 1afd938a7eebe8cd9b5df1633df847e7e6e6492d > > My question is, will that be included in 3.5 ? > > Version-Release number of selected component (if applicable): > Openshift Container Platform 3.4.1 > > How reproducible: > > > Steps to Reproduce: > 1. > 2. > 3. > > Actual results: > > > Expected results: > > > Additional info: The commit was merged to 1.5 branch, so it should be included. Merged Verified on both 3.4 and 3.5 ocp env: openshift v3.5.5.15 kubernetes v1.5.2+43a9be4 etcd 3.1.0 # oc import-image my-dotnet/dotnetcore-11-rhel7 --from=registry.access.redhat.com/dotnet/dotnetcore-11-rhel7 --confirm The import completed successfully. # docker login -u geliu -p 3DHRDjorKSrRl4ojJrdDjCd3t6nQ9PEySKBIghUkeS4 -e geliu 172.x.x.x:5000 Flag --email has been deprecated, will be removed in 1.13. Login Succeeded # docker -D pull 172.x.x.x:5000/lgproj1/dotnetcore-11-rhel7 Using default tag: latest Trying to pull repository 172.x.x.x:5000/lgproj1/dotnetcore-11-rhel7 ... sha256:c8edcc7ad73d83f1fc49bba0efbd82de4c59b4ec0f57e214c1773b6cb09e48a8: Pulling from 172.30.95.56:5000/lgproj1/dotnetcore-11-rhel7 8642dd241e54: Already exists fdd633d880f7: Already exists 9864a1e383b2: Pull complete Digest: sha256:c8edcc7ad73d83f1fc49bba0efbd82de4c59b4ec0f57e214c1773b6cb09e48a8 Status: Downloaded newer image for 172.x.x.x:5000/lgproj1/dotnetcore-11-rhel7:latest openshift v3.4.1.23 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 # oc import-image my-dotnet/dotnetcore-11-rhel7 --from=registry.access.redhat.com/dotnet/dotnetcore-11-rhel7 --confirm The import completed successfully. # docker login -u geliu -p 9hKYwqeAkZt9qSdAoCBz2z7qqgF6qVh1Fg3yb0NRggQ -e geliu 172.30.x.x:5000 Flag --email has been deprecated, will be removed in 1.13. # docker -D pull 172.x.x.x:5000/lgproj/dotnetcore-11-rhel7 Using default tag: latest Trying to pull repository 172.30.x.x:5000/lgproj/dotnetcore-11-rhel7 ... sha256:c8edcc7ad73d83f1fc49bba0efbd82de4c59b4ec0f57e214c1773b6cb09e48a8: Pulling from 172.30.1.187:5000/lgproj/dotnetcore-11-rhel7 8642dd241e54: Already exists fdd633d880f7: Already exists 9864a1e383b2: Pull complete Digest: sha256:c8edcc7ad73d83f1fc49bba0efbd82de4c59b4ec0f57e214c1773b6cb09e48a8 Status: Downloaded newer image for 172.30.x.x:5000/lgproj/dotnetcore-11-rhel7:latest 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://access.redhat.com/errata/RHBA-2017:1425 |