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
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: