Description of problem:
4.12.69 Logged in as a default "user", I create a project as that user and deploy a pod into the namespace. If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile. I Then find myself in an "observe" panel with the option to "show PromQL" If I hit show PromQL the following query is returned: ~~~ pod:container_cpu_usage:sum{pod='nodejs-basic-1-build',namespace='test01'} ~~~ In a 4.17.20 cluster: Logged in as a default user, I create a project as that user and deploy a pod into the namespace. If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile. I then find myself in an observe window...but without the query window embeded within, instead I see some panel headings but otherwise a blank page
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Give a new user the "admin" role in a single namespace 2. Create a pod in that namespace 3. Go to "Admin > Workloads > Pods > {Select Pod from Step 2} > Metrics" 4. Click on a graph
Actual results:
URL includes dev-monitoring, however since the perspective is still "Admin" and not "Dev" the page is blank
Expected results:
The URL should include dev-monitoring and the perspective should be "Dev", leading to the page being displayed.
Additional info:
- blocks
-
OCPBUGS-62999 Broken monitoring perspective switching for namespaced user
-
- Verified
-
- clones
-
OU-722 Broken navigation for "user" in administrator console
-
- Closed
-
- is cloned by
-
OCPBUGS-62999 Broken monitoring perspective switching for namespaced user
-
- Verified
-
- links to