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

eviction annotation is signaling success despite eviction failed (or in progress)

XMLWordPrintable

    • None

      Description of problem:

      When calling eviction on a VM pod, then kubevirt catches it, and starts to trigger LM of VM in order to evict the pod eventually.
      If LMs fail, then Kubevirt fails to LM the VM, and as such the eviction fails.
      
      However, the annotation set on the VM pod returns that the eviction was successful
      

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

      4.19
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Evict a VM pod
      2. Make the LM fail
      3.
      

      Actual results:

      KubeVirt will retry LM
      Evict return code will indicate success already
      

      Expected results:

      KubeVirt will retry LM
      Evict return code does not indicate success, but in progress
      

      Additional info:

      Discussed in https://groups.google.com/g/kubevirt-dev/c/wtFCrxwj4SE
      

              sgott@redhat.com Stuart Gott
              fdeutsch@redhat.com Fabian Deutsch
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: