Bug 1930546 - Monitoring-dashboard-workload keep loading when user with cluster-role cluster-monitoring-view login develoer console
Summary: Monitoring-dashboard-workload keep loading when user with cluster-role cluste...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.8.0
Assignee: Vikram Raj
QA Contact: Gajanan More
Srivaralakshmi Ramani
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-19 06:33 UTC by hongyan li
Modified: 2021-09-15 17:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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*])
Clone Of:
Environment:
Last Closed: 2021-07-27 22:45:22 UTC
Target Upstream Version:
Embargoed:
srr: needinfo-


Attachments (Terms of Use)
Dev console screenshot (73.40 KB, image/png)
2021-02-19 06:33 UTC, hongyan li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8275 0 None open Bug 1930546: show error in RsourceDropdown on load error 2021-03-02 11:47:58 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:47:27 UTC

Description hongyan li 2021-02-19 06:33:01 UTC
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 3 Christoph Jerolimov 2021-03-23 12:12:40 UTC
Verified on 4.8.0-0.nightly-2021-03-22-064955
Kubernetes version v1.20.0+39c0afe
API server https://api.jakumar.devcluster.openshift.com:6443

Comment 4 Christoph Jerolimov 2021-03-23 12:14:12 UTC
Update Jira status

Comment 7 Srivaralakshmi Ramani 2021-06-17 16:09:42 UTC
Hi Vikram and Gajanan, I have updated the Doc Text field. PTAL and let me know if the text looks good. Thanks.

Comment 8 Vikram Raj 2021-06-17 16:16:09 UTC
Hi Srivaralakshmi, Doc text looks good to me. Thanks.

Comment 10 errata-xmlrpc 2021-07-27 22:45:22 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


Note You need to log in before you can comment on or make changes to this bug.