-
Bug
-
Resolution: Not a Bug
-
Blocker
-
Logging 5.8.0
-
None
-
False
-
-
False
-
NEW
-
NEW
-
Bug Fix
-
-
Description:
When logged in with non-admin application owner user, Alerts section is not present on dev-console.
As per Acceptance Criteria of the epic LOG-3548
'OpenShift Application owners receive notifications for application logs-based alerts on the same OpenShift Console Alerts view as with metrics.'
Here the user has also created application alerting rule for the owned app which is firing and visible on dev-console when logged with cluster-admin.
How reproducible:
Always
Actual Result: User is not able to see 'Alerts' section under dev-console
Expected Result: User should see Alerts section as per the AC of the epic.
Screenshot attached of console. UserID is testuser-0
Logs:
$ oc projects You have one project on this server: "my-app". Using project "my-app" on server "https://api.kbharti-0807gcp.qe.gcp.devcluster.openshift.com:6443". [kbharti@desktop loki-alerts]$ oc get pods NAME READY STATUS RESTARTS AGE centos-logtest-ws9kc 1/1 Running 0 4h50m [kbharti@desktop loki-alerts]$ oc get alertingrule NAME AGE dev-workload-alerts 4h50m
Steps to reproduce:
1) Forward logs to Loki with admin
2) Log with non-admin user and create app, alerting rule.
3) Check for Alerts section under dev-console
Note: This test was done with PR https://github.com/openshift/console/pull/12940