Why I am getting "VMCannotBeEvicted" alert for the Live Migratable VMs in OpenShift Virtualization?
Issue
- All the VMs in the cluster are using RWX volumes and the eviction strategy of the VM is set to "Live Migrate". However, sometimes, cluster is receiving alert
VMCannotBeEvicted
as following:
Eviction policy for VirtualMachine rhel9-silver-perch-55 in namespace Namespace NS test (on node ) is set to Live Migration but the VM is not migratable
- The VM indicated in the alert have RWX volumes and the VMI status shows "LiveMigratable: True". Also, the node name in the alert is empty.
Environment
- OpenShift Container Platform 4.16, 4.17.
- OpenShift Virtualization 4.16, 4.17.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.