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

Bug 1800448

Summary: Chart links in project Utilization card all return 404
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Rastislav Wagner <rawagner>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, jokerman, rawagner, yapei
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:34:48 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 Yadan Pei 2020-02-07 06:24:47 UTC
Description of problem:
Click on chart link in project Utilization card results in 404 Page Not Found

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2020-02-06-230833

How reproducible:
Always

Steps to Reproduce:
1. normal user create a project, add some workloads
2. click on chart links in project Utilization card

Actual results:
2. All links returns 404 Page Not Found

Expected results:
2. Click on these charts should take user to Developer -> Monitoring -> Metrics with query string applied

Take CPU usage as an example, the correct links to Developer -> Monitoring -> Metrics is 
https://console-openshift-console.apps.juzhao-ops.qe.rhcloud.com/dev-monitoring/ns/testuser2-1/metrics?query0=topk%2825%2C+sort_desc%28sum%28avg_over_time%28pod%3Acontainer_cpu_usage%3Asum%7Bcontainer%3D%22%22%2Cpod%21%3D%22%22%2Cnamespace%3D%27testuser2-1%27%7D%5B5m%5D%29%29+BY+%28pod%2C+namespace%29%29%29

Now in Utilization card it's 
https://console-openshift-console.apps.juzhao-ops.qe.rhcloud.com/dev-monitoring/ns/testuser2-1/metrics?query0=namespace%3Acontainer_cpu_usage%3Asum%7Bnamespace%3D%27testuser2-1%27%7D

Additional info:

Comment 1 Rastislav Wagner 2020-02-12 09:48:09 UTC
Not specify to dashboard, the issue occurs for any chart (ie in pod details page).

Comment 3 Yadan Pei 2020-02-14 03:10:14 UTC
normal user view metrics on project Utilization card, the chart links to correct page, but when clicking on 'View more' in metrics breakdown, it reports 404 


This is checked against 4.4.0-0.nightly-2020-02-13-192852

Comment 5 Yadan Pei 2020-02-18 09:29:22 UTC
Click 'View more' in breakdown window goes to right page now, verified on 4.4.0-0.nightly-2020-02-17-211020

Comment 7 errata-xmlrpc 2020-05-04 11:34:48 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-2020:0581