Bug 2020501

Summary: login dev console with common user, 403 Forbidden error for all dashboards
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED DUPLICATE QA Contact: spathak <spathak>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, 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: 2021-11-23 15:49:05 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:
Attachments:
Description Flags
403 Forbidden error for all dashboards none

Description Junqi Zhao 2021-11-05 06:38:50 UTC
Created attachment 1840020 [details]
403 Forbidden error for all dashboards

Description of problem:
login dev console with common user, deploy pod under user project, click Observe, there are 4 dashboards under the Dashboard list
each dashboard shows "An error occurred Forbidden" error for the metrics, debug the api, it is blocked by oauth, so it returns 403

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. login dev console with common user, deploy pod under user project
# oc new-project test
# oc new-app quay.io/openshifttest/deployment-example:v1-multiarch

2.click Observe, check each dashboard
3.

Actual results:
"An error occurred Forbidden" error for the metrics

Expected results:
no error

Additional info:

Comment 2 Vikram Raj 2021-11-23 15:49:05 UTC

*** This bug has been marked as a duplicate of bug 2022707 ***