Bug 1939218

Summary: Images built on OCP 4.6 clusters create manifests that result in quay.io (and other registries) rejecting those manifests
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: BuildAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.6CC: aaleman, adam.kaplan, andbartl, aos-bugs, ccoleman, cglombek, dmesser, gmontero, hchatter, jack.ottofaro, jluhrsen, jokerman, mfojtik, nalin, openshift-bugs-escalate, pmuller, scuppett, sdodson, wking
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-30 04:46:37 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: 1905095, 1941452    
Bug Blocks: 1939219, 1940203    

Comment 2 XiuJuan Wang 2021-03-19 03:36:26 UTC
Verified on 4.7.0-0.nightly-2021-03-19-001520 cluster, and do regression test for build features, no new issues found.

The schemaVersion is not degraded, and manifest keep consistent after mirroring to quay.io
$oc new-app ruby:latest~http://github.com/openshift/ruby-hello-world.git 
$skopeo inspect docker://default-route-openshift-image-registry.apps.wxj-47bz.qe.devcluster.openshift.com/xiuwang/ruby-hello-world:latest --raw | jq '.schemaVersion'
2
$oc image mirror default-route-openshift-image-registry.apps.wxj-47bz.qe.devcluster.openshift.com/xiuwang/ruby-hello-world:latest quay.io/openshifttest/ocp:47 -a ~/.docker/quay-xiuwang
$skopeo inspect docker://quay.io/openshifttest/ocp:47 --creds *****:***** --raw | jq '.schemaVersion'
2

Comment 5 errata-xmlrpc 2021-03-30 04:46:37 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 (Moderate: OpenShift Container Platform 4.7.4 security update), 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/RHSA-2021:0957