Bug 1868013

Summary: The links under Monitoring Tab in the workload's sidepanel should check the active perspective and then redirect the user accordingly
Product: OpenShift Container Platform Reporter: Abhinandan Das <abhindas>
Component: Dev ConsoleAssignee: Abhinandan Das <abhindas>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:27:31 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 Abhinandan Das 2020-08-11 12:08:52 UTC
Description of problem:
In the Monitoring tab of the workload's sidepanel of the admin perspective:

the alert name link & the `view monitoring dashboard` links doesn't take the user to their respective pages in the admin perspective

Prerequisites:
Alert section in the sidepanel could be seen only if the workload has firing alerts

Steps to Reproduce
Goto Admin perspective -> projects -> select a project -> workloads
click on a workload -> Monitoring tab

Actual results: 
`view monitoring dashboard` link takes the user to the metrics page in the dev-perspective
on click on an alert, if present, takes the user to the alert details page in the dev perspective

Expected results:
if the user is in the admin perspective then `view monitoring dashboard` link should take the user to the admin perspective's metrics page
if the user is in the admin perspective then alert name link should take the user to the admin perspective's alert details page

Comment 4 errata-xmlrpc 2020-10-27 16:27:31 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