Bug 1877198 - Query Browser: Metrics dropdown error message is not helpful when access is restricted
Summary: Query Browser: Metrics dropdown error message is not helpful when access is r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.0
Assignee: Andrew Pickering
QA Contact: hongyan li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-09 04:33 UTC by Andrew Pickering
Modified: 2020-10-27 16:39 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:39:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error info before the fix (56.54 KB, image/png)
2020-09-10 02:09 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6561 0 None closed Bug 1877198: Query Browser: Improve error message when Prometheus API returns 403 2020-10-04 23:50:56 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:39:17 UTC

Description Andrew Pickering 2020-09-09 04:33:42 UTC
The dropdown of available metrics on the query browser page shows a generic message when it fails to fetch the metrics from the Prometheus API.

A common reason for the API call failing is that the user does not have access to the API. In this case, it would be more helpful to show a message saying that.

Comment 6 Junqi Zhao 2020-09-10 02:09:23 UTC
Created attachment 1714359 [details]
error info before the fix

Comment 9 errata-xmlrpc 2020-10-27 16:39:14 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196


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