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

[v2] oc-mirror displays incorrect mirrored image count for helm charts

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • CLID Sprint 274, CLID Sprint 275
    • 2
    • In Progress
    • Bug Fix
    • Hide
      * Before this update, duplicated images shared between different container images caused incorrect total image counts after mirroring. As a consequence, the result showed a wrong total number of images. With this release, the total is updated after duplicates are removed. As a result, the correct number of images is shown in the Results after mirroring.
      link:https://issues.redhat.com/browse/OCPBUGS-59949(OCPBUGS-59949)
      Show
      * Before this update, duplicated images shared between different container images caused incorrect total image counts after mirroring. As a consequence, the result showed a wrong total number of images. With this release, the total is updated after duplicates are removed. As a result, the correct number of images is shown in the Results after mirroring. link: https://issues.redhat.com/browse/OCPBUGS-59949(OCPBUGS-59949)
    • None
    • None
    • None
    • None

      Description of problem:

          Currently oc-mirror displays incorrect count for total mirrored images of helm charts.

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

          

      How reproducible:

          Always

      Steps to Reproduce:

      1.perfomed m2d + d2m 
      oc-mirror -c isc.yaml file://test --v2 --log-level debug
      oc-mirror -c isc.yaml --from file://test docker://localhost:5000 --dest-tls-verify=false --v2      
      2.Verify the output.
          

      Actual results:

      2025/07/29 09:11:01  [INFO]   : === Results ===
      2025/07/29 09:11:01  [INFO]   :  ✗  2 / 3 helm images mirrored: Some helm images failed to be mirrored - please check the logs
      2025/07/29 09:11:01  [DEBUG]  : concurrent channel worker time     : 3.300710011s
      2025/07/29 09:11:01  [INFO]   : 📦 Preparing the tarball archive...

      Expected results:

      2 / 2 helm images mirrored.

      Additional info:

      ISC File used:  apiVersion: mirror.openshift.io/v2alpha1
      kind: ImageSetConfiguration
      mirror: 
        helm: 
          repositories: 
            - name: openshift-charts
              url: https://charts.openshift.io
              charts: 
                - name: redhat-developer-hub
                  version: "1.4.1" 

              rh-ee-aguidi Alex Guidi
              rh-ee-ngavali Nidan Gavali
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: