Bug 1866035

Summary: Topology incorrectly assumes any "namespace dashboard" link is a Kiali link
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, nmukherj, viraj, wohyoun5
Target Milestone: ---Flags: viraj: needinfo-
viraj: needinfo-
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:
Version: 4.6.0-0.nightly-2020-08-02-134243 Cluster ID: 6de0fe23-5d9b-4add-a336-1efc5fad0306 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
Last Closed: 2020-10-27 16:23:15 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 Samuel Padgett 2020-08-04 17:25:22 UTC
The code here checks for `namespaceDashboard` links that match the current namespace and returns that as the Kiali link. The problem is that there can be other namespace dashboard links that are not Kiali, so it can return a false positive.

https://github.com/openshift/console/blob/18c7462ec87da64d4ef342dc98f1ffa12f756753/frontend/packages/dev-console/src/components/topology/topology-utils.ts#L55-L63

Comment 6 Gajanan More 2020-10-15 15:40:30 UTC
Verified by upgrading cluster version from 4.5 to 4.6
Working as expected
Marking this as verified

Comment 8 errata-xmlrpc 2020-10-27 16:23:15 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196

Comment 9 yoonakim 2022-03-11 06:42:56 UTC Comment hidden (spam)