Bug 1842655
Summary: | "oc adm catalog mirror" generated ImageContentSourcePolicy contains image digests in "source" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Evan Cordell <ecordell> |
Component: | OLM | Assignee: | Evan Cordell <ecordell> |
OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | afield, aos-bugs, ecordell, jokerman, maschmid, maszulik, mfojtik, nhale, sasha, yinzhou |
Version: | 4.5 | Keywords: | Regression |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1842582 | Environment: | |
Last Closed: | 2020-07-13 17:42:47 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: | 1842582 | ||
Bug Blocks: |
Description
Evan Cordell
2020-06-01 19:11:27 UTC
[root@preserve-olm-env data]# ./oc version -o yaml clientVersion: buildDate: "2020-06-06T16:12:44Z" compiler: gc gitCommit: 711c56a65d92d8a61930378670ba92e04a27ef86 gitTreeState: dirty gitVersion: openshift-clients-4.5.0-202006061517 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 releaseClientVersion: 4.5.0-0.nightly-2020-06-07-080121 serverVersion: buildDate: "2019-05-02T11:52:09Z" compiler: gc gitCommit: d4cacc0 gitTreeState: clean gitVersion: v1.11.0+d4cacc0 goVersion: go1.10.8 major: "1" minor: 11+ platform: linux/amd64 1, mirror it. [root@preserve-olm-env data]# ./oc adm catalog mirror quay.io/olmqe/jaeger:v1 localhost:5000 --manifests-only=true using database path mapping: /:/tmp/964106873 wrote database to /tmp/964106873 using database at: /tmp/964106873/bundles.db no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-es-index-cleaner-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-rhel7-operator:1.17.1-3, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-collector-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-query-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-rhel7-operator:1.13.1, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-all-in-one-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-es-rollover-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-agent-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy no digest mapping available for registry.redhat.io/distributed-tracing/jaeger-ingester-rhel7:1.17.1-2, skip writing to ImageContentSourcePolicy wrote mirroring manifests to jaeger-manifests 2, check the ICSP, no digest in the `source` field, LGTM, verify it. [root@preserve-olm-env data]# cat jaeger-manifests/imageContentSourcePolicy.yaml apiVersion: operator.openshift.io/v1alpha1 kind: ImageContentSourcePolicy metadata: name: jaeger spec: repositoryDigestMirrors: - mirrors: - localhost:5000/distributed-tracing/jaeger-all-in-one-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-all-in-one-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-query-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-query-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-es-rollover-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-es-rollover-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-collector-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-collector-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-agent-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-agent-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-ingester-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-ingester-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-es-index-cleaner-rhel7 source: registry.redhat.io/distributed-tracing/jaeger-es-index-cleaner-rhel7 - mirrors: - localhost:5000/distributed-tracing/jaeger-rhel7-operator source: registry.redhat.io/distributed-tracing/jaeger-rhel7-operator *** Bug 1846127 has been marked as a duplicate of this bug. *** 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, 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/RHBA-2020:2409 |