-
Bug
-
Resolution: Done-Errata
-
Major
-
4.13.z, 4.12.z, 4.11.z, 4.14
-
None
-
No
-
False
-
-
-
Bug Fix
-
Done
Description of problem:y
An empty page returned when normal user try to view Route Metrics page
Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-06-13-223353
How reproducible:
Always
Steps to Reproduce:
1. Check any Routes metrics page with cluster-admin user, for example /k8s/ns/openshift-monitoring/routes/alertmanager-main/metrics, we can see the route metrics page and charts are loaded successfully 2. Grant normal user admin permission on 'openshift-monitoring' project $ oc adm policy add-role-to-user admin testuser-1 -n openshift-monitoring clusterrole.rbac.authorization.k8s.io/admin added: "testuser-1" 3. Login with normal user 'testuser-1' and check Networking -> Routes -> alertmanager-main -> Metrics page again
Actual results:
3. empty page is returned
Expected results:
3. If normal user doesn't have ability to view Route Metrics, we should better either hide 'Metrics' tab or show an error message instead of totally empty page
Additional info:
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update