Descheduler logs are filled with "admission webhook virt-launcher-eviction-interceptor.kubevirt.io denied the request" errors
Issue
- The descheduler is working for Virtual Machines, but the descheduler pod is logging many errors such as:
E1024 01:27:17.901960 1 evictions.go:520] "Error evicting pod" err="error when evicting pod (ignoring) \"virt-launcher-centos-9-t45tz\": admission webhook \"virt-launcher-eviction-interceptor.kubevirt.io\" denied the request: Eviction triggered evacuation of VMI \"ns/centos-9\"" pod="ns/virt-launcher-centos-9-t45tz" reason=""
E1024 01:27:17.902001 1 nodeutilization.go:361] eviction failed: error when evicting pod (ignoring) "virt-launcher-centos-9-t45tz": admission webhook "virt-launcher-eviction-interceptor.kubevirt.io" denied the request: Eviction triggered evacuation of VMI "hns/centos-9"
- The descheduler logs say its not evicting the Virtual Machine pods (0 eviction), but it actually is:
I1024 01:27:17.902026 1 descheduler.go:183] "Number of evictions/requests" totalEvicted=0 evictionRequests=0
Environment
- Red Hat OpenShift Container Platform 4.17
- OpenShift Virtualization 4.17
- Kube Descheduler Operator 5.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.