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

Certified/Community operators are not present in OperatorHub nor in `oc get packagemanifest -n openshift-marketplace`

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • CLID Sprint 266, CLID Sprint 267, CLID Sprint 268, CLID Sprint 269, CLID Sprint 270, CLID Sprint 271
    • 6
    • In Progress
    • Known Issue
    • Hide
      When mirroring community-operator-index or certified-operator-index catalogs, with a maxVersion filtering set in the imageSetConfig, customers will not be able to view the operator in the OCP Console.
      At the moment, we recommend not using the maxVersion until the fix is delivered.
      Show
      When mirroring community-operator-index or certified-operator-index catalogs, with a maxVersion filtering set in the imageSetConfig, customers will not be able to view the operator in the OCP Console. At the moment, we recommend not using the maxVersion until the fix is delivered.
    • None
    • None
    • None
    • None

      Description of problem:

      After mirroring packagemanifest of community operators are missing due to which operators are not visible in operatorhub.
      
      
      Post mirroring 'DISPLAY NAME' field is missing:
      ~~~
      # oc-mirror list operators --catalog=<registry-name>/<abc>/openshift/mirror/mirror-community-operator-index:v1.0
      NAME                 DISPLAY NAME  DEFAULT CHANNEL
      argocd-operator                    alpha
      grafana-operator                   v5
      group-sync-operator                alpha
      ~~~~

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

          

      How reproducible:

      
      
      

      Steps to Reproduce:

      1. Mirror the images using below isc.yaml.
      ~~~
      - catalog: registry.redhat.io/redhat/community-operator-index:v4.13 targetCatalog: mirror/mirror-community-operator-index targetTag: v1.0 packages: - name: grafana-operator channels: - name: v5 minVersion: '5.9.2' maxVersion: '5.9.2' - name: group-sync-operator channels: - name: alpha minVersion: '0.0.28' maxVersion: '0.0.28' - name: argocd-operator channels: - name: alpha minVersion: '0.10.1' maxVersion: '0.10.1'
      ~~~
      
      2. Apply the generated ICSP.yaml and catalogsource.yaml.
      
      3. Catalog operator pods will be in running state. Catsrc is present in the cluster. But packagemanifest is missing.
      

      Actual results:

       Operators not installable through the operatorhub but can be using CLI.

      Expected results:

        Operators should be present in operatorhub to install

      Additional info:

      # oc-mirror version --output=yaml                                                               
      clientVersion:
        buildDate: "2024-06-20T10:52:05Z"
        compiler: gc
        gitCommit: 7c0889f4bd343ccaaba5f33b7b861db29b1e5e49
        gitTreeState: clean
        gitVersion: 4.16.0-202406200537.p0.g7c0889f.assembly.stream.el9-7c0889f
        goVersion: go1.21.9 (Red Hat 1.21.9-1.module+el8.10.0+21671+b35c3b78) X:strictfipsruntime
        major: ""
        minor: ""
        platform: linux/amd64
      
      # oc version                                                                                    
      Client Version: 4.16.2    

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-rkale Rutuja Kale
              Rutuja Kale
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: