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

[2213272] The metric for the alert LowKVMNodesCount cannot fired

XMLWordPrintable

    • CNV I/U Operators Sprint 247
    • High
    • No

      Description of problem:
      The rule for producing the alert LowKVMNodesCount will never fire the alarm because the rule for this alert:
      (kubevirt_allocatable_nodes_count > 1) and (kubevirt_kvm_available_nodes_count < 2)
      the kubevirt_allocatable_nodes_count counts all nodes as allocatable including the master nodes.
      The kubevirt_kvm_available_nodes_count expression is: intstr.FromString("kubevirt_allocatable_nodes_count - count(kube_node_status_allocatable

      {resource=\"devices_kubevirt_io_kvm\"}

      == 0)")

      This expression will give us 3 so the alert will never fire

              jvilaca@redhat.com João Vilaça
              rh-ee-orevah Ohad Revah
              Ohad Revah Ohad Revah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: