Bug 1832151 - oc adm catalog build with ose-operator-registry:v4.3 fails
Summary: oc adm catalog build with ose-operator-registry:v4.3 fails
Keywords:
Status: CLOSED DUPLICATE of bug 1831698
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Evan Cordell
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-06 08:16 UTC by Filip Brychta
Modified: 2020-05-06 18:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-06 18:10:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.