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

Bug 1842006

Summary: two different versions of metering operator display upon refresh in Operatorhub
Product: OpenShift Container Platform Reporter: Peter Ruan <pruan>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jokerman, spadgett
Target Milestone: ---   
Target Release: 4.6.0   
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-06-01 17:03:57 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:
Attachments:
Description Flags
version 'X'
none
version 'Y' none

Description Peter Ruan 2020-05-30 05:49:35 UTC
Created attachment 1693615 [details]
version 'X'

Description of problem:
In the Operatorhub page, two different versions of `metering` operator will cycle through the display upon a browser refresh.  This seems to apply to other operators as well.

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

How reproducible:
often.

Steps to Reproduce:
1. install cluster that has a qe-registry.  Rebuild this jenkins job https://mastern-jenkins-csb-openshift-qe.cloud.paas.psi.redhat.com/job/Launch%20Environment%20Flexy/95629/
1. From the webconsole, filter out operator with phrase `metering`. it will show one version, call it 'X'
2. refresh browser and repeat step 1, the resulting metering tile will show a differnt version, call it 'Y'
3. refresh browser and repeat step 1, the resulting metering tile will show x


Actual results:
alternating between 4.4 & 4.5

Expected results:
4.5 

Additional info:

Comment 1 Peter Ruan 2020-05-30 05:50:18 UTC
Created attachment 1693616 [details]
version 'Y'

Comment 2 Samuel Padgett 2020-06-01 13:18:47 UTC
I have a feeling that this is a duplicate of bug 1814822.

Do you have two package manifest resources with the same name? `oc get packagemanifests`

Comment 3 Peter Ruan 2020-06-01 16:50:57 UTC
Sam, yes.  Would adding a label help?

metering-ocp                                 Red Hat Operators     13h
metering                                     Community Operators   13h
ibm-metering-operator-app                    Certified Operators   13h
metering-ocp                                                       13h

Comment 4 Samuel Padgett 2020-06-01 17:03:57 UTC
No, a label wouldn't help here. This is the same underlying problem as bug 1814822. Resources names for a specific kind must be unique in a namespace. Marking this a duplicate.

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