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

[release-4.20] Operator catalog items not visible to console

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.20.z
    • 4.20.0
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      Before this update, Operator items were not visible in the Software Catalog on clusters without a `CloudCredential` resource as this optional resource was required. With this release, the requirement for the `CloudCredential` resource is removed so that Operators always appear in the Software Catalog. (link:https://issues.redhat.com/browse/OCPBUGS-72417[OCPBUGS-72417])
      Show
      Before this update, Operator items were not visible in the Software Catalog on clusters without a `CloudCredential` resource as this optional resource was required. With this release, the requirement for the `CloudCredential` resource is removed so that Operators always appear in the Software Catalog. (link: https://issues.redhat.com/browse/OCPBUGS-72417 [ OCPBUGS-72417 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-66247. The following is the description of the original issue:

      We are facing this issue for Openshift Local which is a single node cluster to play and experiment on laptop/desktop https://crc.dev/docs/installing/#installing . With 4.20 version we observed that catalog is not visible when checked from the console even all the source catalog present.

       

      $ oc version
      Client Version: 4.20.5
      Kustomize Version: v5.6.0
      Server Version: 4.20.5
      Kubernetes Version: v1.33.5
      
      $ oc get all -n openshift-marketplace
      Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
      NAME                                        READY   STATUS    RESTARTS   AGE
      pod/certified-operators-tbj4j               1/1     Running   0          8m32s
      pod/community-operators-jqt8n               1/1     Running   0          8m32s
      pod/marketplace-operator-69bbd96f97-zd6rn   1/1     Running   0          8m53s
      pod/redhat-marketplace-dw2lz                1/1     Running   0          8m30s
      pod/redhat-operators-glm9j                  1/1     Running   0          8m29s
      
      NAME                                   TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)             AGE
      service/certified-operators            ClusterIP   10.217.5.163   <none>        50051/TCP           45h
      service/community-operators            ClusterIP   10.217.4.180   <none>        50051/TCP           45h
      service/marketplace-operator-metrics   ClusterIP   10.217.5.212   <none>        8383/TCP,8081/TCP   46h
      service/redhat-marketplace             ClusterIP   10.217.4.108   <none>        50051/TCP           45h
      service/redhat-operators               ClusterIP   10.217.5.201   <none>        50051/TCP           45h
      
      NAME                                   READY   UP-TO-DATE   AVAILABLE   AGE
      deployment.apps/marketplace-operator   1/1     1            1           46h
      
      NAME                                              DESIRED   CURRENT   READY   AGE
      replicaset.apps/marketplace-operator-69bbd96f97   1         1         1       46h
      
      $ oc get catalogsources.operators.coreos.com  -n openshift-marketplace
      NAME                  DISPLAY               TYPE   PUBLISHER   AGE
      certified-operators   Certified Operators   grpc   Red Hat     45h
      community-operators   Community Operators   grpc   Red Hat     45h
      redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     45h
      redhat-operators      Red Hat Operators     grpc   Red Hat     45h

      but when we go to console and query about operators from the catalog https://console-openshift-console.apps-crc.testing/catalog?catalogType=operator it shows 404 (attached screenshot)

              rhn-engineering-rhamilto Robb Hamilton
              prkumar@redhat.com Praveen Kumar
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: