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

The metric for kubevirt_vmi_migration_failed include VMIMs in 'undefined' status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CNV v4.18.0
    • CNV Virt-Node
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • Moderate
    • None

      Description of problem:

      The metric for kubevirt_vmi_migration_failed include VMIMs in 'undefined' status

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

      4.18.0.rhel9-813

      How reproducible:

      100%

      Steps to Reproduce:

      1. Migrate 1000s of VMs
      2. Monitor migration metrics and compare with data captured with oc get vmim
      

      Actual results:

      Failure metric does not match number of failed VMIMs

      Expected results:

      Failure metric matches number of failed VMIMs when queried with oc get vmim
      Separate metric for undefined state, along with metrics for Scheduled and TargetReady.

      Additional info:

      Metrics:
      sum(kubevirt_vmi_migration_failed)
      sum(kubevirt_vmi_migrations_in_pending_phase)
      
      Attached screenshot shows an inverse relationship between "failed" and "pending", when in-fact VMIMs show 0 failed, and a relative number of "undefined" state VMIMs.

              sgott@redhat.com Stuart Gott
              rhn-support-sbennert Sarah Bennert
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: