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

oc-mirror cannot mirror the latest version (as of this writing) 4.19.4

XMLWordPrintable

    • 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:

          Version 4.19.4 is available, but oc-mirror is not able to mirror it.

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

      [root@bastion ~]# oc-mirror --v2 version --output=yaml
      2025/07/16 10:20:14  [INFO]   : 👋 Hello, welcome to oc-mirror
      2025/07/16 10:20:14  [INFO]   : ⚙️  setting up the environment for you...
      clientVersion:
        buildDate: "2025-06-23T18:37:04Z"
        compiler: gc
        gitCommit: e8a1ce3d1973ef2fb5870ea6abe7ee6d7c0d8ae5
        gitTreeState: clean
        gitVersion: 4.19.0-202506231806.p0.ge8a1ce3.assembly.stream.el9-e8a1ce3
        goVersion: go1.23.9 (Red Hat 1.23.9-1.el9_6) X:strictfipsruntime
        major: ""
        minor: ""
        platform: linux/amd64

      How reproducible:

      As of this writing, 2025/07/16, always.
      Please note, that yesterday, version 4.19.3 was also failing. Today it works.

      Steps to Reproduce:

          1. Install latest oc-mirror version.
          2. Create ImageSetConfiguration to mirror version 4.19.4
          3. 
          

      Actual results:

      [root@bastion ~]# cat imageset-config.yaml
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        platform:
          architectures:
            - amd64
          channels:
          - name: stable-4.19
            minVersion: 4.19.4
            maxVersion: 4.19.4
            type: ocp
      
      [root@bastion ~]# oc-mirror --v2 -c imageset-config.yaml --workspace file:///root/oc-mirror/ docker://bastion.dmur41904.ocp.local:5000 
      2025/07/16 10:49:20  [INFO]   : 👋 Hello, welcome to oc-mirror
      2025/07/16 10:49:20  [INFO]   : ⚙️  setting up the environment for you...
      2025/07/16 10:49:20  [INFO]   : 🔀 workflow mode: mirrorToMirror 
      2025/07/16 10:49:20  [INFO]   : 🕵  going to discover the necessary images...
      2025/07/16 10:49:20  [INFO]   : 🔍 collecting release images...
      2025/07/16 10:49:21  [INFO]   : 🔍 collecting operator images...
      2025/07/16 10:49:21  [INFO]   : 🔍 collecting additional images...
      2025/07/16 10:49:21  [INFO]   : 🔍 collecting helm images...
      2025/07/16 10:49:21  [INFO]   : ❗ No images to mirror...
      2025/07/16 10:49:21  [INFO]   : mirror time     : 368.459875ms
      2025/07/16 10:49:21  [INFO]   : 👋 Goodbye, thank you for using oc-mirror
      2025/07/16 10:49:21  [ERROR]  : [Executor] no images to copy

      Expected results:

      Not that. 190 images expected.

      Additional info:

       

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rugouvei@redhat.com Rui Gouveia
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: