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

oc-mirror does not create signature files when mirroring via digest and tag for ec and rc release payload images

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • CLID Sprint 266, CLID Sprint 267, CLID Sprint 268, CLID Sprint 269, CLID Sprint 270
    • 5
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      I see that oc-mirror fails to generate signature files when mirroring ec and rc release payloads using tag and digest.
          

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

          4.18
          

      How reproducible:

          Always
          

      Steps to Reproduce:

          1. use the imageSetConfig as shown below
          2. Run command oc-mirror -c /tmp/isc.yaml --workspace file://test docker://localhost:5000 --dest-tls-verify=false --v2
          3.
          

      Actual results:

          see that no signature files have been generated.
         2025/02/12 09:38:32  [INFO]   : === Results ===
      2025/02/12 09:38:32  [INFO]   :  ✓  192 / 192 release images mirrored successfully
      2025/02/12 09:38:32  [INFO]   : 📄 Generating IDMS file...
      2025/02/12 09:38:32  [INFO]   : ec/working-dir/cluster-resources/idms-oc-mirror.yaml file created
      2025/02/12 09:38:32  [INFO]   : 📄 Generating ITMS file...
      2025/02/12 09:38:32  [INFO]   : ec/working-dir/cluster-resources/itms-oc-mirror.yaml file created
      2025/02/12 09:38:32  [INFO]   : 📄 No catalogs mirrored. Skipping CatalogSource file generation.
      2025/02/12 09:38:32  [INFO]   : 📄 No catalogs mirrored. Skipping ClusterCatalog file generation.
      2025/02/12 09:38:32  [INFO]   : 📄 Generating UpdateService file...
      2025/02/12 09:38:32  [INFO]   : ec/working-dir/cluster-resources/updateService.yaml file created
      2025/02/12 09:38:32  [INFO]   : mirror time     : 2m25.806570546s
      2025/02/12 09:38:32  [INFO]   : 👋 Goodbye, thank you for using oc-mirror
      
          

      Expected results:

          signature files should be generated as rc and ec candidates does have signatures and they are being used by the customer.
          

      Additional info:

          kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        platform:
          release: quay.io/openshift-release-dev/ocp-release:4.19.0-ec.1-x86_64
          graph: true
      
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        platform:
          release: quay.io/openshift-release-dev/ocp-release@sha256:f0de3be10be2f5fc1a5b1c208bcfe5d3a71a70989cacbca57ebf7c5fe6e14b09
          graph: true
      
          

              luzuccar@redhat.com Luigi Mario Zuccarelli
              knarra@redhat.com Rama Kasturi Narra
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: