Bug 1990006
Summary: | Backport request: 'oc image info' claims 'does not exist' for application/vnd.oci.image.manifest.v1+json manifest | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Andreas Karis <akaris> |
Component: | oc | Assignee: | Ross Peoples <rpeoples> |
Status: | CLOSED WONTFIX | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.6 | CC: | aos-bugs, mfojtik, sjenning, somalley, wking, yinzhou |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | LifecycleReset | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1890677 | Environment: | |
Last Closed: | 2023-01-12 13:19:03 UTC | Type: | --- |
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: | 1890677 | ||
Bug Blocks: |
Comment 1
Andreas Karis
2021-08-04 14:51:12 UTC
Ross the problem with this one is that we don't support v1 schema, and that's perfectly fine for write operation, but for backwareds compatibility we should still read it. So the following operation should work: $ oc image mirror k8s.gcr.io/stress:v1 quay.io/repo/stress:v1 error: unable to retrieve source image k8s.gcr.io/stress manifest sha256:f00aa1ddc963a3164aef741aab0fc05074ea96de6cd7e0d10077cf98dd72d594: manifest unknown: Manifest with digest 'sha256:f00aa1ddc963a3164aef741aab0fc05074ea96de6cd7e0d10077cf98dd72d594' has media type 'application/vnd.docker.distribution.manifest.v1+prettyjws', but client accepts 'application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json'. error: an error occurred during planning but as seen above it fails b/c oc does not know about schema v1. |