Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1314

Users can't silence alerts from the dev console


    • Moderate
    • None
    • ODC Sprint 225, ODC Sprint 226
    • 2
    • Rejected
    • False
    • Hide



      Description of problem:

      When logged in as a non-admin user, I can't silence alerts from the Dev Console.

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

      4.10 but the same issue may exist for previous versions.

      How reproducible:


      Steps to Reproduce:

      1. Login to the dev console as a non-admin user. 
      2. Follow the OCP documentation to deploy the example application including the service monitor and the rule (the user needs to be granted the monitoring-edit role). See https://docs.openshift.com/container-platform/4.9/monitoring/enabling-monitoring-for-user-defined-projects.html for details. 
      3. Go to the Observe > Alerts page and disable notifications during 30 minutes for the VersionAlert alert. 

      Actual results:

      The alert notification seems to be disabled but on refresh, the notification is still enabled.

      Expected results:

      The notification is permanently disabled.

      Additional info:

      The console backend hits the wrong service which results in a 403 response code, it should use the tenancy-aware service.

      Copied from https://bugzilla.redhat.com/show_bug.cgi?id=2117608

            viraj-1 Vikram Raj
            viraj-1 Vikram Raj
            Sanket Pathak Sanket Pathak
            0 Vote for this issue
            4 Start watching this issue