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

Should only show the mirrored bundle of operator for the v2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.16
    • 4.16
    • oc-mirror
    • Important
    • None
    • CLID Sprint 253, CLID Sprint 254
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      for the moment, we are not rebuilding catalogs in the v2. So the catalogs will show their original content unfortunately.

      We are waiting to align with the operator-framework team on this matter, in order to delegate this part of filtering and rebuilding to an external tool / module.

      This wont be fixed in the near future.
      Show
      for the moment, we are not rebuilding catalogs in the v2. So the catalogs will show their original content unfortunately. We are waiting to align with the operator-framework team on this matter, in order to delegate this part of filtering and rebuilding to an external tool / module. This wont be fixed in the near future.
    • Known Issue
    • In Progress
    • Customer Facing

      Description of problem:

      Should only show the mirrored bundle of operator  for the v2

       

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

      oc-mirror version 
      WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202403251146.p0.g03ce0ca.assembly.stream.el9-03ce0ca", GitCommit:"03ce0ca797e73b6762fd3e24100ce043199519e9", GitTreeState:"clean", BuildDate:"2024-03-25T16:34:33Z", GoVersion:"go1.21.7 (Red Hat 1.21.7-1.el9) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

      How reproducible:

      always

      Steps to Reproduce:

      1)  with following imagesetconfig: 
      cat config-v1.yaml 
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v1alpha2
      mirror:
        operators:
          - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.15
            packages:
              - name: quay-operator
                minVersion: "3.10.2"
                maxVersion: "3.10.2"  `oc-mirror --config config.yaml file://out --v2`
      `oc-mirror --config config.yaml --from file://out --v2 docker://xx.com:5000/default`
      
        2)  install the catalog source , idms and itms resources  kind: ImageSetConfiguration
      
      
      3) check the operator from console  
      
      

      Actual results: 

      3)  After catalog source running , login the web-console , checked the mirrored package , the channel and version information is incorrect, show all the channels and all the bundles
      
      

       

      Expected results:

      3) Should only show the mirrored default channel and bundle info 3.10.2. 

              luzuccar@redhat.com Luigi Mario Zuccarelli
              yinzhou@redhat.com ying zhou
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: