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

Alert Rules do not have summary/description

XMLWordPrintable

    • No
    • MCO Sprint 237, MCO Sprint 238
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Alert Rules do not have summary/description

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

       

      How reproducible:

      Always

      Steps to Reproduce:

      This bug is being raised by Openshift Monitoring team as part of effort to detect invalid Alert Rules in OCP.
      
      Check details of following Alert Rules
      1. KubeletHealthState
      2. MCCDrainError
      3. MCDPivotError
      4. MCDRebootError
      5. SystemMemoryExceedsReservation 

      Actual results:

      These Alert Rules do not have Summary/Description annotation, but have a 'message' annotation. OpenShift alerts must use 'description' -- consider renaming the annotation

      Expected results:

      Alerts should have Summary/Description annotation.

      Additional info:

      Alerts must have a summary/description annotation, please refer to style guide at https://github.com/openshift/enhancements/blob/master/enhancements/monitoring/alerting-consistency.md#style-guide 
      
      
      To resolve the bug, 
      - Rename message annotation to summary/description annotation
      - Remove the exception in the origin test, added in PR https://github.com/openshift/origin/pull/27944

            cdoern@redhat.com Charles Doern
            vimalkum@redhat.com Vimal Kumar
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: