Created attachment 1851539 [details] Pipeline metrics network calls are failing with 403 error Description of problem: Pipeline Metrics page not showing data for the normal user. All the API calls are failing with 403 error. Version-Release number of selected component (if applicable): 4.10 and 4.9 How reproducible: Steps to Reproduce: 1. Login as a normal user with only self-provisioned role binding to a namespace. 2. Create a namespace and a pipeline to it 3. navigate to the Pipline -> Pipeline details -> Metrics Actual results: API calls are failing with 403 error Expected results: API calls should not fail with any error. Additional info:
Verified as console developer user (with View only permission) and able to view the pipeline metrics as expected. build: 4.11.0-0.nightly-2022-03-27-140854
Thanks to Vikram I could verify this now on 4.11.0-0.nightly-2022-04-23-153426. It was required to give the user additional view permissions on the openshift-pipeline namespace. I created a follow-up bug #2078565 so that the Metrics tab is not shown if the user has not have enough permissions.
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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069