Bug 1828816 - oc adm catalog mirror not working with index image
Summary: oc adm catalog mirror not working with index image
Keywords:
Status: CLOSED DUPLICATE of bug 1829832
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: Evan Cordell
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-28 12:11 UTC by Shawn Hurley
Modified: 2020-05-25 18:06 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Shawn Hurley 2020-04-28 12:11:33 UTC
Description of problem:
Mirror a catalog image built from opm does not mirror any info
Version-Release number of selected component (if applicable):
Client Version: 4.5.0-0.nightly-2020-04-28-084038

How reproducible:
100%

Steps to Reproduce:
1. Create catalog with registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-operator-registry@sha256:08537a923080ad0011f9a17abc749bbedab3004fd223b799bff5745e768d5654 as the base image. 
2. oc adm catalog mirror quay.io/shawn_hurley/opm-catalog-test:stage-index-testing testing:5000 --dry-run --to-manifests .
3.

Actual results:
wrote database to /tmp/706822416/bundles.db
errors during mirroring. the full contents of the catalog may not have been mirrored: open /tmp/706822416/bundles.db: no such file or directory
wrote mirroring manifests to .

Mirrroing manifests
mapping.txt is empty

imageContentSourcePolicy.yaml:
apiVersion: operator.openshift.io/v1alpha1
kind: ImageContentSourcePolicy
metadata:
  name: opm-catalog-test
spec:
  repositoryDigestMirrors: []

Expected results:
mapping.txt would at least give me a single bundle image to mirror
imageContentSourcePolicy should try and map the bundle to localhost:5000



Additional info:

Comment 1 Evan Cordell 2020-05-25 18:06:36 UTC

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


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