Bug 1870502 - Operators from different catalogsource with same name are all shown "Installed" after install one of them
Summary: Operators from different catalogsource with same name are all shown "Installe...
Keywords:
Status: CLOSED DUPLICATE of bug 1814822
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Robb Hamilton
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-20 09:09 UTC by Yanping Zhang
Modified: 2020-08-21 13:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-21 13:47:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
installed-operator (96.26 KB, image/png)
2020-08-20 09:09 UTC, Yanping Zhang
no flags Details

Description Yanping Zhang 2020-08-20 09:09:36 UTC
Created attachment 1711984 [details]
installed-operator

Description of problem:
Create custom operator with custom catalogsource, the custom operator has same name with a operator in community-operators catalogsource, install one of them into one project, check these operators in operatorhub of the project, both operators are shown with "Installed" status.

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-08-18-165040

How reproducible:
Always

Steps to Reproduce:
1.Create custom operator with custom catalogsource.
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: custom-console-catalogsource-infrasubs
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/yapei/crossplane-operator:mytest
  displayName: Custom UI Auto Console Testing
  publisher: OpenShift UI QE

2.Go to OperatorHub page, filter "portw" by keyword, there are two operators filtered out, one is in community-operators catalogsource, the other is custome catalogsource.

3.Choose one of them to install in a project.
4.After installation finished, filter "portw" by keyword on OperatorHub page in the project again.

Actual results:
4. Both operators are shown with "Installed". 

Expected results:
4. Only the operator chosen to install should show "Installed".

Additional info:

Comment 1 Robb Hamilton 2020-08-20 14:00:06 UTC
This is the result of a bug in OLM.  See https://bugzilla.redhat.com/show_bug.cgi?id=1814822#c2

Comment 2 Robb Hamilton 2020-08-21 12:44:11 UTC
Need to determine if we want to try to patch console given the source of the bug is in OLM.

Comment 4 Robb Hamilton 2020-08-21 13:47:18 UTC
Closing as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1814822 since there is no easy workaround we can apply in the console.

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


Note You need to log in before you can comment on or make changes to this bug.