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

Do not show notification switch for the alert rule which have no alerts associated

XMLWordPrintable

    • Low
    • None
    • ODC Sprint 226
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, a notifications switch was available for all the alerting rules including the ones that have no alerts associated with it. This resulted in confusion for the users because the notification switch was of no use in such cases. This fix resolves the issue by hiding the notification switch for alerting rules that have no alerts associated with it. (link:https://issues.redhat.com/browse/OCPBUGS-2075[*OCPBUGS-2075*])
      Show
      * Previously, a notifications switch was available for all the alerting rules including the ones that have no alerts associated with it. This resulted in confusion for the users because the notification switch was of no use in such cases. This fix resolves the issue by hiding the notification switch for alerting rules that have no alerts associated with it. (link: https://issues.redhat.com/browse/OCPBUGS-2075 [* OCPBUGS-2075 *])
    • Bug Fix
    • Done

      Description of problem:

      We got a feedback from the support team that it is confusing to see switch in the Notifications column for the Alerting rule which have no alerts associated to it as user can not silence the Alerting rule. 

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. oc apply -f https://gist.githubusercontent.com/vikram-raj/727629797eb9d9bfcfa2721cae2ade86/raw/7c2305e14115a1a4f4f88ebb74cdad32cbec4132/Alerting%2520rule%2520without%2520alert 
      2. navigate to the Developer perspective Observe -> Alerts
      3. Try to silence the VersionAlert alerting rule, nothing will happen 

      Actual results:

      Silence the alerting rule using the switch will do nothing

      Expected results:

      No switch for silence the alerting rule should be visible if no alerts are associated to the alerting rule.

      Additional info:

       

              viraj-1 Vikram Raj
              viraj-1 Vikram Raj
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: