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

[v2] Invalid release image does not cause mirroring errors/warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.18, 4.19
    • oc-mirror
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        platform:
          channels:
            - name: ocp-4.32
              minVersion: 4.42.99
              maxVersion: 4.42.100
          graph: true

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

          4.18+

      How reproducible:

          always

      Steps to Reproduce:

          1. ISC with invalid release (or release version)
          2. M2D
          3.
          

      Actual results:

          [fedora@knarra-fedora 1062]$ ./oc-mirror -c rimage.yaml file://test-doc --v2
      
      2025/04/01 08:10:19  [INFO]   : 👋 Hello, welcome to oc-mirror
      2025/04/01 08:10:19  [INFO]   : ⚙️  setting up the environment for you...
      2025/04/01 08:10:19  [INFO]   : 🔀 workflow mode: mirrorToDisk 
      2025/04/01 08:10:19  [INFO]   : 🕵  going to discover the necessary images...
      2025/04/01 08:10:19  [INFO]   : 🔍 collecting release images...
      2025/04/01 08:10:25  [INFO]   : 🔍 collecting operator images...
      2025/04/01 08:10:25  [INFO]   : 🔍 collecting additional images...
      2025/04/01 08:10:25  [INFO]   : 🔍 collecting helm images...
      2025/04/01 08:10:25  [INFO]   : 🔂 rebuilding catalogs
      2025/04/01 08:10:25  [INFO]   : 🚀 Start copying the images...
      2025/04/01 08:10:25  [INFO]   : 📌 images to copy 1 
      1 / 1 () [======================================================================================================================] 100 %
       ✓   () graph-image:latest ➡️  cache 
      2025/04/01 08:10:26  [INFO]   : === Results ===
      2025/04/01 08:10:26  [INFO]   :  ✓  1 / 1 release images mirrored successfully
      2025/04/01 08:10:26  [INFO]   : 📦 Preparing the tarball archive...
      2025/04/01 08:10:26  [INFO]   : mirror time     : 6.459203665s
      2025/04/01 08:10:26  [INFO]   : 👋 Goodbye, thank you for using oc-mirror

      Expected results:

          An error indicating the release is not valid.

      Additional info:

          

              Unassigned Unassigned
              rdossant Rafael Fonseca dos Santos
              Nidan Gavali Nidan Gavali
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: