Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6091

Unable to view always firing Loki custom alert in administrator view, but visible in developer view to non kube-admin user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • Logging 5.9.4, Logging 5.9.5
    • Log Storage
    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix
    • Log Storage - Sprint 260

      Description of problem:

      Unable to view always firing Loki custom alert in administrator view, but visible in developer view to users other than kubeadmin. 

      Version-Release number of selected component (if applicable): 4.16

      How reproducible:

      Deploy cluster at 4.16.7. logging and loki operators at 5.9.4 and 5.9.5
      Deploy always firing custom loki logging alert

      Observe the alert firing in the console as well as in alertmanager in admin and developer view with kubeadmin user

      $ oc exec -n openshift-monitoring alertmanager-main-0 – amtool alert --alertmanager.url http://localhost:9093

      same is not visible to other users in administrator view , but visible in developer view

      Actual results: Loki custom alert is not visible in admin view to other users 

      Expected results: Lpki custom alert should be visible in admin view

      Additional info:

      Tried assigning extra permissions to user but that did not help .

      https://docs.openshift.com/container-platform/4.16/observability/logging/logging_alerts/custom-logging-alerts.html#:~:text=alerts%20and%20metrics.-,Authorizing%20LokiStack%20rules%20RBAC%20permissions,-Administrators%20can%20allow

      User can see other custom alerts but only loki related custom alerts are not visible 

              ptsiraki@redhat.com Periklis Tsirakidis
              nikijain@redhat.com Nikita Jain
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: