Bug 1851511
| Summary: | oc adm catalog mirror --filter-by-os does not work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tom Buskey <tbuskey> |
| Component: | OLM | Assignee: | Evan Cordell <ecordell> |
| OLM sub component: | OLM | QA Contact: | Tom Buskey <tbuskey> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | bandrade, danili, jiazha, krizza, scolange, tbuskey |
| Version: | 4.5 | Keywords: | Regression |
| 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-20 02:41:07 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: | |||
| Bug Depends On: | 1851817 | ||
| Bug Blocks: | |||
|
Description
Tom Buskey
2020-06-26 18:38:30 UTC
Get the same issue when using `oc` 4.5 version, it's better to fix it in 4.5. [root@preserve-olm-env data]# ./oc version Client Version: 4.5.0-rc.4 Server Version: 4.5.0-rc.4 Kubernetes Version: v1.18.3+77c9a6a [root@preserve-olm-env data]# ./oc adm catalog mirror registry.redhat.io/openshift4/ose-operator-registry:v4.4 quay.io/olmqe/filtter:v4.4 error: the image is a manifest list and contains multiple images - use --filter-by-os to select from: OS DIGEST linux/amd64 sha256:59ebe755481e26b340f0c02784bab6ff43d7dbc1be1ca56f5056ffc70daed271 linux/ppc64le sha256:46aeaa82a28507fa0c44dadda6b6d6ecd65fbf8cd20ad4f0bb222b86cabb8bcd linux/s390x sha256:d86dad0f8925370c4a4ea45c3856ea58eac49f8733b31fe6f76be1839f5f6750 [root@preserve-olm-env data]# ./oc adm catalog mirror registry.redhat.io/openshift4/ose-operator-registry:v4.4 quay.io/olmqe/filtter:v4.4 --filter-by-os="linux/amd64" error: the image is a manifest list and contains multiple images - use --filter-by-os to select from: OS DIGEST linux/amd64 sha256:59ebe755481e26b340f0c02784bab6ff43d7dbc1be1ca56f5056ffc70daed271 linux/ppc64le sha256:46aeaa82a28507fa0c44dadda6b6d6ecd65fbf8cd20ad4f0bb222b86cabb8bcd linux/s390x sha256:d86dad0f8925370c4a4ea45c3856ea58eac49f8733b31fe6f76be1839f5f6750 Encounter this issue on macOS too. $ oc adm catalog mirror registry.redhat.io/openshift4/ose-operator-registry:v4.4 quay.io/olmqe/filter:v4.4 --filter-by-os=linux/amd64 error: the image is a manifest list and contains multiple images - use --filter-by-os to select from: OS DIGEST linux/amd64 sha256:18508cf80c294c2465984f2c68e201b341220a7cc42e32483189d8e51b28c360 linux/ppc64le sha256:8e876ad97eba6b18703319b939261191e7761c26a36bb7e103bf59d72db62951 linux/s390x sha256:1dc22c00871cdcf368c9efe5286912ba890aed1610318b9930e0e4f090d90285 $ oc version Client Version: 4.5.0-0.nightly-2020-06-30-033353 Server Version: 4.6.0-0.nightly-2020-06-30-020342 Kubernetes Version: v1.18.3+5d8c7f1 |