Bug 1853852
Summary: | oc adm catalog mirror --filter-by-os does not work | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
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: | danili, ecordell, jiazha, krizza, scuppett, tbuskey |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | 4.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | non-multi-arch | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-22 12:20:42 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: | 1851817 | ||
Bug Blocks: |
Description
OpenShift BugZilla Robot
2020-07-04 18:54:50 UTC
1, Check the `oc` version [root@preserve-olm-env client]# ./oc version -o yaml clientVersion: buildDate: "2020-07-17T21:38:38Z" compiler: gc gitCommit: b66f2d3a6893be729f1b8660309a59c6e0b69196 gitTreeState: clean gitVersion: openshift-clients-4.5.0-202006231303.p0-4-gb66f2d3a6 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 releaseClientVersion: 4.5.0-0.nightly-2020-07-18-024505 ... 2, Mirroring a catalogsource image that contains some multi-arch operator's images. [root@preserve-olm-env client]# ./oc adm catalog mirror quay.io/olmqe/catalogsource:cluster-logging localhost:5000/olmqe45 --filter-by-os to="linux/amd64" using database path mapping: /:/tmp/214421313 wrote database to /tmp/214421313 using database at: /tmp/214421313/bundles.db localhost:5000/ olmqe45/openshift4-ose-logging-fluentd blobs: registry.redhat.io/openshift4/ose-logging-fluentd sha256:82a8f4ea76cb6f833c5f179b3e6eda9f2267ed8ac7d1bf652f88ac3e9cc453d1 1.561KiB registry.redhat.io/openshift4/ose-logging-fluentd sha256:68374908cbf6dbdf4ec1ffd7c7becab87c1ef5d8bd7893fb63384773f1cdd7a7 5.067KiB registry.redhat.io/openshift4/ose-logging-fluentd sha256:a61a94c048c2e5240eea49afffa19b4c73545002c7e3a755957fc7e8f535695d 3.339MiB registry.redhat.io/openshift4/ose-logging-fluentd sha256:3f8da17b5090f672f011b5bfcff4856360af616b275f37ffa98a7528b5dd1823 20.28MiB registry.redhat.io/openshift4/ose-logging-fluentd sha256:a3ac36470b00df382448e79f7a749aa6833e4ac9cc90e3391f778820db9fa407 72.74MiB manifests: sha256:2cd9223d0d4ee1967c39f4c22a3ce5fe1ae657bb1cc055ed7b4abaa1fdc0e3aa -> 3c3660fa stats: shared=0 unique=5 size=96.36MiB ratio=1.00 phase 0: localhost:5000 olmqe45/openshift4-ose-logging-fluentd blobs=5 mounts=0 manifests=1 shared=0 info: Planning completed in 1.85s uploading: localhost:5000/olmqe45/openshift4-ose-logging-fluentd sha256:a61a94c048c2e5240eea49afffa19b4c73545002c7e3a755957fc7e8f535695d 3.339MiB ... info: Planning completed in 1.71s info: Mirroring completed in 0s (0B/s) wrote mirroring manifests to catalogsource-manifests 3, Check the mirrored images. [root@preserve-olm-env client]# curl -k --user test:redhat https://localhost:5000/v2/_catalog {"repositories":["olmqe45/openshift4-ose-cluster-logging-operator","olmqe45/openshift4-ose-logging-curator5","olmqe45/openshift4-ose-logging-elasticsearch5","olmqe45/openshift4-ose-logging-fluentd","olmqe45/openshift4-ose-logging-kibana5","olmqe45/openshift4-ose-oauth-proxy"]} LGTM, verify it. *** Bug 1851511 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:2956 |