Bug 1609729 - [admin] Should not show duplicate resources in different API version
Summary: [admin] Should not show duplicate resources in different API version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.11.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-30 09:38 UTC by Yadan Pei
Modified: 2018-10-11 07:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 07:22:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:23:06 UTC

Description Yadan Pei 2018-07-30 09:38:47 UTC
Description of problem:
In Search & Events drop down list, there are some duplicate resources in different API version, should show one preferred API version 

Version-Release number of selected component (if applicable):
registry.reg-aws.openshift.com:443/openshift3/ose-console                 7afc9cdb911ba       283MB

How reproducible:
Always

Steps to Reproduce:
1.Go to admin console
2.Go to Search, open drop down list
3.Go to Events, open drop down list

Actual results:
2-3. There are some duplicated resources, for example:Deployment
One is in /api/kubernetes/apis/apps/v1, the other is in /api/kubernetes/apis/extensions/v1beta1/ version
ClusterRoleBinding: One is in /api/kubernetes/apis/rbac.authorization.k8s.io/v1, the other is /api/kubernetes/apis/authorization.openshift.io/v1

Expected results:
2-3. Show one preferred API version is ok

Additional info:

Comment 1 Samuel Padgett 2018-07-30 12:57:15 UTC
This is fixed by https://github.com/openshift/console/pull/321

Note that there are some cases where duplicates might be expected. We've removed some known ones, but there's no way for us to know if two resources with the same `kind` name in entirely different API groups are actually the same or different.

Comment 2 Yadan Pei 2018-07-31 06:48:26 UTC
Waiting for new ocp images to test the fix

Comment 3 Yadan Pei 2018-08-03 06:32:13 UTC
Checked on openshift v3.11.0-0.10.0 with console images:

registry.reg-aws.openshift.com:443/openshift3/ose-console                   v3.11               abfda950c7e7        8 hours ago         273 MB


Search and Events page has no duplicate resources shown.

Move to VERIFIED

Comment 5 errata-xmlrpc 2018-10-11 07:22:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2652


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