Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1833789

Summary: operatorHub showing partial information when filtering by catalogSource in a disconnected cluster
Product: OpenShift Container Platform Reporter: Asher Shoshan <ashoshan>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jokerman, spadgett
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-18 14:36:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Asher Shoshan 2020-05-10 15:56:02 UTC
Description of problem:
In a disconnected OCCP cluster, when 2 catalogSources are deployed, the in UI, operatorhub page, filtering on each catalogSource showing partial operators list


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


How reproducible:


Steps to Reproduce:
1. deploy disconnected cluster
2. prepare OLM for restricted env
3. create couple of catalogSources
4. UI, operatorHub, filter on a catalogSource

Actual results:
Partial operators list is displayed


Expected results:
Full list to be displayed

Additional info:
"oc get packagemanifest"  showing the right list

Comment 1 Evan Cordell 2020-05-12 14:27:30 UTC
Can you provide more detail in the report? What operators are missing?

Since the data appears to be present via the API, moving to console - but I'm somewhat unclear on what is actually happening.

Comment 2 bpeterse 2020-05-12 16:18:36 UTC
Requesting additional information as well.
- How did you prepare OLM?
- Which catalog sources did you use?  Please share.
- Which operators are missing?

The more closely we can reproduce your issue, the more likely we can fix the bug.  Thanks!

Comment 3 Asher Shoshan 2020-05-13 14:06:46 UTC
I added redhat-operator-stage and rh-verified-operators to my cluster (appregistry).
In UI (operatorHub page), I checked  "redhat-operator-stage" catalogSource in "provider type" filter --> I can see "Container-native virtualization" in the right pane.
Doing the same, this time with "rh-verified-operators" -->  I do NOT see it in right pane.

running the cli:  oc -n openshift-marketplace get packagemanifests| grep kubevirt-hyperconverged --> 
kubevirt-hyperconverged                      rh-verified-operators    24m
kubevirt-hyperconverged                      Red Hat Operators        2d22h
kubevirt-hyperconverged                      redhat-operators-stage   2d21h

It's in both catalogSources, but UI filter misses it.

Comment 4 Robb Hamilton 2020-05-14 17:33:41 UTC

*** This bug has been marked as a duplicate of bug 1814822 ***

Comment 5 Samuel Padgett 2020-05-14 17:35:04 UTC
This is caused by the PackageManifest names not being unique. See https://bugzilla.redhat.com/show_bug.cgi?id=1814822#c2