Bug 1411161
| Summary: | [3.3] Fail to push built image to registry due to "manifest blob unknown: blob unknown to registry" without define output image via oc new-build | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Scott Dodson <sdodson> | ||||
| Component: | Image Registry | Assignee: | Alexey Gladkov <agladkov> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 3.3.1 | CC: | agladkov, aos-bugs, bparees, cewong, haowang, mfojtik, pweil, tdawson, wsun, wzheng, xtian | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.3.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause: Manifest verification didn't pay attention to non local layers.
Consequence: Verification has failed if pullthrough enabled.
Fix: Use pullthrough to verify remote layers.
Result: Manifest verification is successful.
|
Story Points: | --- | ||||
| Clone Of: | 1408661 | Environment: | |||||
| Last Closed: | 2017-04-26 05:36:05 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: | |||||||
| Bug Depends On: | 1408661, 1411162 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Comment 1
Wenjing Zheng
2017-02-03 07:15:29 UTC
what docker version are you using ? Here is my docker version: # docker version Client: Version: 1.12.5 API version: 1.24 Package version: docker-common-1.12.5-14.el7.x86_64 Go version: go1.7.4 Git commit: 047e51b/1.12.5 Built: Wed Jan 11 17:53:20 2017 OS/Arch: linux/amd64 Server: Version: 1.12.5 API version: 1.24 Package version: docker-common-1.12.5-14.el7.x86_64 Go version: go1.7.4 Git commit: 047e51b/1.12.5 Built: Wed Jan 11 17:53:20 2017 OS/Arch: linux/amd64 So, this is not https://rhn.redhat.com/errata/RHSA-2017-0116.html Can you attach docker-registry and docker daemon logs ? Created attachment 1250138 [details]
This is docker registry log
No special log from docker , so just attach the docker registry log in attachment. Thanks! Now I see the problem. (the PR merged) Verified with below version:
# openshift version
openshift v3.3.1.17
kubernetes v1.3.0+52492b4
etcd 2.3.0+git
# oc logs builds/centos-1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Removing intermediate container daf304085600
Successfully built 61e34f5e8ba8
Pushing image 172.30.74.144:5000/wzheng1/centos:latest ...
Pushed 0/2 layers, 2% complete
Pushed 1/2 layers, 63% complete
Pushed 2/2 layers, 100% complete
Push successful
# oc get builds
NAME TYPE FROM STATUS STARTED DURATION
centos-1 Docker Dockerfile Complete 6 minutes ago 1m42s
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:1129 |