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

PR: Fix transient status-not-found error log in kube-burner upstream

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Product / Portfolio Work
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Hide

      Last Comment by on :

      Show
      Last Comment by on :
    • None

      When kube-burner creates custom resources (e.g. VirtualMachine), the .status field is not immediately populated by the controller. The first status check in verifyCondition (waiters.go) logs at level=error even though this is a normal transient state.

      Fix: split the error handling — log.Errorf only for actual extraction errors, log.Debugf when status is simply not yet available.

      Upstream PR: https://github.com/kube-burner/kube-burner/pull/1147

      This eliminates noisy error lines like:

      level=error msg="Error extracting or finding status in object VirtualMachine/vm-1: [nil]"
      

              guchen11 Guy Chen
              guchen11 Guy Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: