Previously, when an error occurred due to a user not having the required access for a namespace, the *Workload* drop-down menu in the *Monitoring* dashboard page continuously displayed a loading-in-progress icon. The current release fixes this issue. Now, the *Monitoring* dashboard page displays an error message indicating that a *Forbidden* error has occurred. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1930546[*BZ#1930546*])
Created attachment 1757998[details]
Dev console screenshot
Description of problem:
Monitoring-dashboard-workload keep loading when user with cluster-role cluster-monitoring-view rolebingding user login developer console and select a project
Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-02-18-110409
How reproducible:
always
Steps to Reproduce:
1.Assign cluster-role cluster-monitoring-view to a user
#oc adm policy add-cluster-role-to-user cluster-monitoring-view testuser-4
2.login developer console with the user
3.Go to monitoring page and select a project, such as kube-system
4.The graphs show "Forbidden", but Workload dropdown list keep loading
Actual results:
Monitoring-dashboard-workload keep loading
Expected results:
May display Error or Forbidden
Additional info:
Comment 3Christoph Jerolimov
2021-03-23 12:12:40 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.8.2 bug fix and 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-2021:2438
Created attachment 1757998 [details] Dev console screenshot Description of problem: Monitoring-dashboard-workload keep loading when user with cluster-role cluster-monitoring-view rolebingding user login developer console and select a project Version-Release number of selected component (if applicable): 4.7.0-0.nightly-2021-02-18-110409 How reproducible: always Steps to Reproduce: 1.Assign cluster-role cluster-monitoring-view to a user #oc adm policy add-cluster-role-to-user cluster-monitoring-view testuser-4 2.login developer console with the user 3.Go to monitoring page and select a project, such as kube-system 4.The graphs show "Forbidden", but Workload dropdown list keep loading Actual results: Monitoring-dashboard-workload keep loading Expected results: May display Error or Forbidden Additional info: