Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-29273

[2210988] Incorrect alert description for the alert KubevirtVmHighMemoryUsage

XMLWordPrintable

    • CNV I/U Operators Sprint 238
    • Moderate
    • No

      Description of problem:
      -----------------------
      With the bug[1] that was fixed for CNV v4.11.4, the alert 'KubevirtVmHighMemoryUsage' was triggered when the requested memory of the VM goes below 50MB. Earlier this requested memory constraint was at 20MB.The alert description continues to state the old information of 20MB.
      <snip>
      Description
      Container {{ $labels.container }} in pod {{ $labels.pod }} in namespace {{ $labels.namespace }} free memory is less than 20 MB and it is close to requested memory
      </snip>

      The expression used to check for the condition was correct though.
      kubevirt_vm_container_free_memory_bytes_based_on_working_set_bytes<5.24288e+07 or kubevirt_vm_container_free_memory_bytes_based_on_rss<5.24288e+07

      [1] - https://bugzilla.redhat.com/show_bug.cgi?id=2091976

      Version-Release number of selected component (if applicable):
      --------------------------------------------------------------
      CNV 4.14, CNV 4.13, CNV 4.12.3

      How reproducible:
      -----------------
      Always

      Steps to Reproduce:
      -------------------
      1. From OpenShift Web Console, click on 'Observe' -> 'Alerting' -> click on 'Alerting Rules' tab -> search for name 'KubevirtVmHighMemoryUsage' -> click on the alert named 'KubevirtVmHighMemoryUsage'
      2. Check for the description of this alert

      Actual results:
      ---------------
      Description is found as below:
      Container {{ $labels.container }} in pod {{ $labels.pod }} in namespace {{ $labels.namespace }} free memory is less than 20 MB and it is close to requested memory

      Expected results:
      -----------------
      Description should be updated to reflect that information that this alert would be triggered when free memory is less 50MB of the request memory

      Additional info:
      ----------------
      This incorrect alert information is found in CNV v4.14, CNV v4.13 and also in CNV v4.12. CNV v4.12 actually missed the fix itself.

              jvilaca@redhat.com João Vilaça
              sasundar@redhat.com Satheesaran Sundaramoorthi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: