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

[4.20] kubevirt_allocatable_nodes  tracking all nodes in a cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV I/U Operators Sprint 284
    • None

      Description of problem:

      The prometheus metric "kubevirt_allocatable_nodes" appears to be tracking arbiter nodes in a Two Node +Arbiter cluster configuration. Arbiter nodes should not count towards kubevirt_allocatable_nodes as arbiter nodes are not designed to run user workloads. As an example, here is the output of a `oc get nodes` for a Two Node cluster:
      
      ```
      $ oc get nodes
      NAME       STATUS   ROLES                         AGE   VERSION
      arbiter1   Ready    arbiter                       19h   v1.33.6
      master1    Ready    control-plane,master,worker   19h   v1.33.6
      master2    Ready    control-plane,master,worker   19h   v1.33.6
      ```

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

      4.20.3

      How reproducible:

      every time

      Steps to Reproduce:

      1. Build a Two Node +Arbiter cluster
      2. Install OpenShift Virt on the cluster
      3. Using "Observe-Metrics", check the value of "kubevirt_allocatable_nodes" 

      Actual results:

      The results will show that there are THREE allocatable nodes, however only two of the nodes in the cluster should be used to allocate virtual machines. 

      Expected results:

      The reported number of allocatable nodes should be reported as TWO.

      Additional info:

      This was also discussed in the slack thread here: https://redhat-internal.slack.com/archives/C068X44C8VB/p1770733245892159 This bug _may_ also be contributing to false Console alerts "LowVirtAPICount" and "LowVirtControllerCount"

              jvilaca@redhat.com João Vilaça
              mdeneve@redhat.com Mark DeNeve
              Ohad Revah Ohad Revah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: