Description of problem: `oc adm release new` without the --keep-manifest-list opotion will failed for the manifestlist imagestream YAML Version-Release number of selected component (if applicable): Client Version: 4.11.0-0.nightly-2022-06-01-200905 How reproducible: Always Steps to Reproduce: 1.Use the `oc adm release new` without the --keep-manifest-list opotion for the manifestlist imagestream YAML `oc adm release new --reference-mode=source -f 12708358_4.11.0-0.nightly-multi-2022-04-18-120932-release-imagestream.yaml --name 4.11.0-0.nightly --to-image=localhost:5000/ocp-release:4.11.0-0.nightly --insecure` Actual results: 1. oc adm release new --reference-mode=source -f 12708358_4.11.0-0.nightly-multi-2022-04-18-120932-release-imagestream.yaml --name 4.11.0-0.nightly --to-image=localhost:5000/ocp-release:4.11.0-0.nightly --insecure info: Found 171 images in image stream Warning: the default reading order of registry auth file will be changed from "${HOME}/.docker/config.json" to podman registry config locations in the future version of oc. "${HOME}/.docker/config.json" is deprecated, but can still be used for storing credentials as a fallback. See https://github.com/containers/image/blob/main/docs/containers-auth.json.5.md for the order of podman registry config locations. W0602 14:10:10.849458 55710 manifest.go:442] Chose linux/amd64 manifest from the manifest list. …… error: failed to push image localhost:5000/ocp-release:4.11.0-0.nightly: unknown image manifest of type *manifestlist.DeserializedManifestList from manifest sha256:25273700fcd65a775080b1278693a7f2c7c5cc5ad548da2e1d9cd01cae831c97 Expected results: 1. No failed. Additional info:
Can you provide me with that yaml file you're using for tests?
Should be implemented in https://github.com/openshift/oc/pull/1213
oc adm release new --reference-mode=source -f 12708358_4.11.0-0.nightly-multi-2022-04-18-120932-release-imagestream.yaml --name 4.11.0-0.nightly --to-image=localhost:5000/ocp-release:4.11.0-0.nightly --insecure info: Found 171 images in image stream Warning: the default reading order of registry auth file will be changed from "${HOME}/.docker/config.json" to podman registry config locations in the future version of oc. "${HOME}/.docker/config.json" is deprecated, but can still be used for storing credentials as a fallback. See https://github.com/containers/image/blob/main/docs/containers-auth.json.5.md for the order of podman registry config locations. error: unable to parse image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0fe9b02d9797b137e1596441b476124bfa3ce10a73749baa118df3a1d15cf192: use --keep-manifest-list option for image manifest type *manifestlist.DeserializedManifestList from manifest sha256:0fe9b02d9797b137e1596441b476124bfa3ce10a73749baa118df3a1d15cf192 oc version --client Client Version: 4.12.0-0.nightly-2022-08-01-151317 Kustomize Version: v4.5.4
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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399