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

Hit error when do mirror2mirror for v1alpha2 images with the latest oc-mirror 4.16

XMLWordPrintable

    • Important
    • None
    • CLID Sprint 253
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress
    • Customer Facing

      Description of problem:

      When use the oc-mirror 4.16 to do mirror2mirror for `apiVersion: mirror.openshift.io/v1alpha2` imagesetconfig, the command failed with error: 
          info: Mirroring completed in 200ms (0B/s)
          error: error rebuilding catalog images from file-based catalogs: error copying image docker://registry.redhat.io/redhat/community-operator-index:v4.14 to docker://my-route-e2e-test-ocmirror-g6wsw.apps.yinzhou-0513.qe.devcluster.openshift.com/redhat/community-operator-index:v4.14: copying system image from manifest list: Source image rejected: Invalid GPG signature: gpgme.Signature{Summary:128, Fingerprint:"1AC4971355A34A82", Status:gpgme.Error{err:0x9}, Timestamp:time.Date(2024, time.May, 10, 18, 20, 1, 0, time.Local), ExpTimestamp:time.Date(1970, time.January, 1, 0, 0, 0, 0, time.Local), WrongKeyUsage:false, PKATrust:0x0, ChainModel:false, Validity:0, ValidityReason:error(nil), PubkeyAlgo:1, HashAlgo:8}

       

       

      Version-Release number of selected component (if applicable):

      ./oc-mirror version --output=yaml
      clientVersion:
        buildDate: "2024-05-08T04:26:09Z"
        compiler: gc
        gitCommit: 9e77c1944f70fed0a85e5051c8f3efdfb09add70
        gitTreeState: clean
        gitVersion: 4.16.0-202405080039.p0.g9e77c19.assembly.stream.el9-9e77c19
        goVersion: go1.21.9 (Red Hat 1.21.9-1.el9_4) X:strictfipsruntime
        major: ""
        minor: ""
        platform: linux/amd64

      How reproducible:

      always

      Steps to Reproduce:

      1) Use following isc to do mirror2mirror for v2: cat config-66870.yaml 
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v1alpha2
      mirror:
        operators:
        - catalog: registry.redhat.io/redhat/community-operator-index:v4.14
          packages:
          - name: external-secrets-operator
      
       `oc-mirror -c isc_31536.yaml docker://localhost:5000/31536 --dest-use-http --dest-skip-tls`
      
      

      Actual results: 

      1) catalogs/registry.redhat.io/redhat/certified-operator-index/v4.15/layout/index.json
      catalogs/registry.redhat.io/redhat/certified-operator-index/v4.15/layout/oci-layout
          info: Mirroring completed in 200ms (0B/s)
          error: error rebuilding catalog images from file-based catalogs: error copying image docker://registry.redhat.io/redhat/community-operator-index:v4.14 to docker://my-route-e2e-test-ocmirror-g6wsw.apps.yinzhou-0513.qe.devcluster.openshift.com/redhat/community-operator-index:v4.14: copying system image from manifest list: Source image rejected: Invalid GPG signature: gpgme.Signature{Summary:128, Fingerprint:"1AC4971355A34A82", Status:gpgme.Error{err:0x9}, Timestamp:time.Date(2024, time.May, 10, 18, 20, 1, 0, time.Local), ExpTimestamp:time.Date(1970, time.January, 1, 0, 0, 0, 0, time.Local), WrongKeyUsage:false, PKATrust:0x0, ChainModel:false, Validity:0, ValidityReason:error(nil), PubkeyAlgo:1, HashAlgo:8}
      

      Expected results:

      1) no error

      Additional information:

      compared with oc-mirror 4.15 , can't reproduce the same issue. 
      

            skhoury@redhat.com Sherine Khoury
            yinzhou@redhat.com ying zhou
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: