-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
3
-
False
-
-
False
-
CLOSED
-
---
-
---
-
-
-
CNV Virtualization Sprint 240
-
High
-
No
Description of problem: Initially a VM running with HCO evictionStrategy:LiveMigrate , when we update HCO evictionStrategy:None and without restsrting the vm do node drain , Virt-launcher pod does not drain , and node drain is stuck with following error:
error when evicting pods/"virt-launcher-vm2-rhel88-ocs-nxl4s" -n "default" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.
evicting pod default/virt-launcher-vm2-rhel88-ocs-nxl4s
Version-Release number of selected component (if applicable):
How reproducible:
100% on a bm cluster
Steps to Reproduce:
1.initially at HCO evictionStrategy:LiveMigrate
2.create a vm (VM is running) (no evictionStrategy field in VM spec)
3.edit hco with evictionStrategy: None
4.do not restart vm
5.do node drain
Actual results: Node drain is stuck while draining virt-launcher pod
error when evicting pods/"virt-launcher-vm2-rhel88-ocs-nxl4s" -n "default" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.
evicting pod default/virt-launcher-vm2-rhel88-ocs-nxl4s
Expected results:Node drain is successful and VM Restarted on another node
Additional info:
- is duplicated by
-
CNV-31623 [2228027] Virt-Launcher Pod Node Drain stuck when HCO evictionStrategy is set "None" and VM is not restarted
- Closed
- external trackers