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

Some images SHA are missing in logs/mapping.txt after mirroring images using oc-mirror v2/v1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18
    • oc-mirror
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • Customer Escalated
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Some images SHA are missing in logs/mapping.txt mirroing image using oc-mirror v2/v1

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

          

      How reproducible:

       
      • Cu is using J Frog Artifactory.
      • Imagesetconfig used:
        kind: ImageSetConfiguration
        apiVersion: mirror.openshift.io/v2alpha1
        mirror:
          platform:
            architectures:
            - amd64
          operators:
            - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.18 
              packages: 
               - name: advanced-cluster-management
                 defaultChannel: release-2.14
                 channels:
                 - name: release-2.14
                   maxVersion: v2.14.0
                   minVersion: v2.14.0

        The expected images are 60 to be copied and the mapping.txt also has 60 entries. 

      But on checking the images in Jfrog we found few Sha are not pointing to a images but list.manifest.json.  
      Under this SHA we have multiple other SHA values present which are not present in mapping.txt
       
      Cu is expecting this extra SHA value should be also present in mapping.txt [The same issue observed in v1 and v2].

      Additional data is provided in drive:
      Google DOC

       

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          Missing SHA values when compared to Jfrog registry. 

      Expected results:

          The customer expects all these additional SHAs to also appear in mapping.txt

      Additional info:

          

              rh-ee-aguidi Alex Guidi
              rhn-support-shishind Shivam shinde
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: