Description of problem: If a v2s2 manifest list is specified in an "oc image mirror --filter-by-os='.*' .." invocation, the tool attempts to mirror the manifest list, but fails with: "manifest blob unknown: blob unknown to registry" (because one or more images referenced in the manifest list is not present on the destination registry) Version-Release number of selected component (if applicable): v4.3.0 How reproducible: 100% Steps to Reproduce: (registry-proxy.engineering.redhat.com requires a Red Hat network connection)_ 1. oc image mirror --filter-by-os='.*' registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-machine-config-operator:v4.3.0-201910021355=dest/repo Actual results: The mirroring process fails because images within the manifest list are not present on the destination registry. Expected results: The utility should mirror all blobs in the manifest list before mirroring the manifest list itself.
Looks like this is working just fine, moving to testing.
Confirmed with the latest oc version , can't reproduced the issue now: [root@dhcp-140-138 roottest]# oc version -o yaml clientVersion: buildDate: "2020-01-31T09:12:41Z" compiler: gc gitCommit: 709731817c7fef663038ab72dc13ea5fb0995cd2 gitTreeState: dirty gitVersion: openshift-clients-4.4-17-g70973181 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 releaseClientVersion: 4.4.0-0.nightly-2020-02-04-002939 [root@dhcp-140-138 roottest]# oc image mirror --filter-by-os='.*' --insecure=true registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-machine-config-..... ...... sha256:01a06ebcb96f0f9b4fc903b4dd6489cdf4fa197211cdd041015ab403b471a5e1 docker.io/zhouying7780/test:v43 info: Mirroring completed in 2m26.42s (2.844MB/s)
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:0581