Bug 1832151

Summary: oc adm catalog build with ose-operator-registry:v4.3 fails
Product: OpenShift Container Platform Reporter: Filip Brychta <fbrychta>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, obulatov
Version: 4.3.z   
Target Milestone: ---   
Target Release: ---   
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: 2020-05-06 18:10:30 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 Filip Brychta 2020-05-06 08:16:26 UTC
Description of problem:
Running following command:
oc adm catalog build --appregistry-org redhat-operators --from=registry.redhat.io/openshift4/ose-operator-registry:v4.3 --to=`hostname`:55555/olm/redhat-operators:v1  -a ${REG_CREDS} --insecure

fails with:
error: unable to parse image registry.redhat.io/openshift4/ose-operator-registry:v4.3: unknown image manifest of type *manifestlist.DeserializedManifestList from manifest sha256:56e8a4340ebb2d919c125b3c24b9b74bf843698f894d1da1c8dc5267dea52e67

It's working fine when using v4.4 instead of v4.3

Version-Release number of selected component (if applicable):
ose-operator-registry:v4.3

How reproducible:
Always

Steps to Reproduce:
1. Prepare mirror registry following https://docs.openshift.com/container-platform/4.4/installing/install_config/installing-restricted-networks-preparations.html
2. Following https://docs.openshift.com/container-platform/4.4/operators/olm-restricted-networks.html
run following command:
oc adm catalog build --appregistry-org redhat-operators --from=registry.redhat.io/openshift4/ose-operator-registry:v4.3 --to=`hostname`:55555/olm/redhat-operators:v1  -a ${REG_CREDS} --insecure



Actual results:
fails with:
error: unable to parse image registry.redhat.io/openshift4/ose-operator-registry:v4.3: unknown image manifest of type *manifestlist.DeserializedManifestList from manifest sha256:56e8a4340ebb2d919c125b3c24b9b74bf843698f894d1da1c8dc5267dea52e67

Expected results:
No errors

Additional info:
It works fine when using v4.4 instead of v.4.3:
oc adm catalog build --appregistry-org redhat-operators --from=registry.redhat.io/openshift4/ose-operator-registry:v4.4 --to=`hostname`:55555/olm/redhat-operators:v1  -a ${REG_CREDS} --insecure

Comment 2 Evan Cordell 2020-05-06 18:10:30 UTC

*** This bug has been marked as a duplicate of bug 1831698 ***