Bug 2020498

Summary: "Show PromQL" button is disabled
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, hongyli, msaud, nmukherj, viraj
Target Milestone: ---   
Target Release: 4.10.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: 2022-03-10 16:25:33 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:
Bug Depends On:    
Bug Blocks: 2029370    
Attachments:
Description Flags
"Show PromQL" button is disabled none

Description Junqi Zhao 2021-11-05 06:17:47 UTC
Created attachment 1840011 [details]
"Show PromQL" button is disabled

Description of problem:
login dev console with cluster-admin user, select one project, example, openshift-apiserver, click Observe, there are 4 dashboards under the Dashboard list

select "Kubernetes / Compute Resources / Namespace (Workloads)" dashboard, click the "inspect" button for "CPU Usage", it leads to the "Metrics" tab, "Show PromQL" button is disabled, user can not click the button the see the expression.

affected dashboards: 
"Kubernetes / Compute Resources / Namespace (Workloads)" dashboard
Show PromQL is disabled excepted for "CPU Quota" and "Memory Quota"

"Kubernetes / Compute Resources / Workloads" dashboard
Show PromQL is disabled for all metrics

Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-11-04-222513
410 also have the same issue

How reproducible:
always

Steps to Reproduce:
1. see the description
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Andrew Pickering 2021-11-09 07:00:59 UTC
*** Bug 2021010 has been marked as a duplicate of this bug. ***

Comment 4 spathak@redhat.com 2021-12-06 08:40:35 UTC
Verified on build version: 4.10.0-0.ci-2021-12-04-104040
Browser version: chrome 90

Comment 8 errata-xmlrpc 2022-03-10 16:25:33 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056