Description of problem: Unable to run oc adm catalog mirror with --filter-by-os="linux/amd64" Version-Release number of selected component (if applicable): oc version Client Version: openshift-clients-4.6.0-202005210021-28-g711c56a65 Server Version: 4.5.0-0.nightly-2020-06-25-033011 Kubernetes Version: v1.18.3+77c9a6a How reproducible: always Steps to Reproduce: 1.oc adm catalog mirror registry.redhat.io/openshift4/ose-operator-registry:v4.4 quay.io/tbuskey/xyzzy:v4.4 --filter-by-os="linux/amd64" Actual results: 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 Expected results: To have it mirror Additional info:
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