Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48397

oc-mirror fails with "content integrity error"

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 4.16
    • oc-mirror
    • Important
    • None
    • False
    • Hide

      None

      Show
      None

      When trying to mirror operators getting the below error.
      ~~~
      error: unable to copy layer sha256:ba22a613171a0e7c28c88ed27ba87a3f1cc03d3b3f7a093a806a0826fc25d3ba to file://openshift/release: content integrity error: the blob streamed from digest sha256:ba22a613171a0e7c28c88ed27ba87a3f1cc03d3b3f7a093a806a0826fc25d3ba does not match the digest calculated from the content sha256:c57d5dde7c94c38ac730486bdbd3455702fb2f891ca2c33f94aeca4b8b2af2b9
      error: unable to copy layer sha256:8e92c6105e88b370bc6178057077beb870bde29bf6c3905534a95f5cf1db8cd2 to file://openshift/release: content integrity error: the blob streamed from digest sha256:8e92c6105e88b370bc6178057077beb870bde29bf6c3905534a95f5cf1db8cd2 does not match the digest calculated from the content sha256:d9bf8ccc8309c4fe83cdb6b7c128d636442549f0112972d578ece4b905b5bbc0
      ~~~

      The imageset they are using
      ~~~
      apiVersion: mirror.openshift.io/v1alpha2
      kind: ImageSetConfiguration
      storageConfig:
      local:
      path: /data/repos/OpenShift/Images
      mirror:
      platform:
      architectures:

      • amd64
        channels:
      • name: stable-4.17
        type: ocp
        graph: true
        operators:
      • catalog: registry.redhat.io/redhat/redhat-operator-index:v4.17
        packages:
      • name: local-storage-operator
      • name: odf-operator
      • name: ocs-operator
      • name: mcg-operator
      • name: openshift-cert-manager-operator
      • name: kubevirt-hyperconverged
      • name: mtv-operator
      • name: nfd
      • catalog: registry.redhat.io/redhat/community-operator-index:v4.17
        packages:
      • name: gitlab-operator-kubernetes
      • catalog: registry.redhat.io/redhat/certified-operator-index:v4.17
        packages:
      • name: gpu-operator-certified
        additionalImages:
      • name: registry.redhat.io/ubi8/ubi:latest
      • name: registry.redhat.io/ubi9/ubi:latest
        ~~~

      Gitlab and gpu are the operators that will fail to mirror.
      Other images from the same registry do not encounter any errors.

            [OCPBUGS-48397] oc-mirror fails with "content integrity error"

            There are no comments yet on this issue.

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-dseals Daniel Seals
              Ying Zhou Ying Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: