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

[2174974] Tekton: VM is not getting evicted/migrated to a new node due to PVCs accessmode

XMLWordPrintable

    • CNV Infra 243, CNV Infra 238, CNV Infra 239, CNV Infra 254
    • Important
    • No

      Description of problem:

      If node is notready and pipelines are creating VM's so VM's don't moves to a new mode and we see message : EvictionStrategy is set but vmi is not migratable; cannot migrate VMI: PVC windows-5n76q2-installcdrom is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode).

      In tekton job, its RWO : https://github.com/kubevirt/tekton-tasks-operator/blob/main/data/tekton-pipelines/okd/windows-efi-installer-pipeline.yaml#L263

      $ oc get nodes
      NAME STATUS ROLES AGE VERSION
      c01-gk413ccl3-gww9w-master-0 Ready control-plane,master,worker 5h9m v1.26.0+9eb81c2
      c01-gk413ccl3-gww9w-master-1 NotReady control-plane,master,worker 5h9m v1.26.0+9eb81c2
      c01-gk413ccl3-gww9w-master-2 Ready control-plane,master,worker 5h9m v1.26.0+9eb81c2
      [cloud-user@ocp-psi-executor ~]$ oc get vmi -A
      NAMESPACE NAME AGE PHASE IP NODENAME READY
      openshift-cnv windows-5g7u8n 22m Running 10.129.0.182 c01-gk413ccl3-gww9w-master-1 False

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

      How reproducible:
      always

      Steps to Reproduce:
      1.used a compact cluster to reproduce.
      2.Run automation job
      3.

      Actual results:

      VM are not migrated also pipeline end with error as VMI task is never completed

      Expected results:
      VM should get migrated on a different node

      Additional info:

              ksimon@redhat.com Karel Simon
              gkapoor@redhat.com Geetika Kapoor
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: