-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.13, 4.14, 4.15
-
None
-
Quality / Stability / Reliability
-
False
-
-
1
-
Moderate
-
No
-
Proposed
-
Bug Fix
-
Previously, alerts in the project overview were not visible because the application was querying an incorrect API. The fix loads from the correct source and displays the project alerts.
-
None
-
None
-
None
-
None
Description of problem:
OCP users with permissions monitoring-rules-edit and project edit are not able to see the alerts in status page from project (Administrator -> Home -> Project -> click in project name) in OCP web console. Once the users access this page, the alert section seems to have the message: "Alerts could not be loaded" In the web browser network tools, this page seems to request the following URL: https://console-openshift-console.apps.<cluster-domain>/api/prometheus/api/v1/rules On the other side, in the section Observe -> alerts, the alerts are showed. In this step, the requested URL to list the alerts seem to be: https://console-openshift-console.apps.<cluster-domain>/api/prometheus-tenancy/api/v1/rules?namespace=<project-name>
Version-Release number of selected component (if applicable):
4.12, 4,13 and 4.14
How reproducible:
It is reproduciable with any cluster
Steps to Reproduce:
1. Create an user without any privileges 2. Create a new project 3. Create a test prometheusrule 4. Assign the edit permissions to the new user to the new-project 5. Assign the monitoring-rules-edit clusterrole permission to the user 6. Access project's main page and check that the alerts are not present
Actual results:
No alerts
Expected results:
Alerts from project
Additional info:
- clones
-
OCPBUGS-33879 Alerts not available in status page from project in OCP web console
-
- ON_QA
-
- is blocked by
-
OCPBUGS-33879 Alerts not available in status page from project in OCP web console
-
- ON_QA
-
- links to