wide-garage-9465
06/06/2022, 12:29 PMSchedulingDisabled
and the status moving to Entering maintenance mode
, but that's it. Nothing else happens.
I'm pretty sure that it should at least evict all VMs from that node, right? I enabled trace logging, but there's absolutely nothing in the logs 🤔
Any hint appreciated 🙂witty-jelly-95845
06/06/2022, 1:11 PMwide-garage-9465
06/06/2022, 1:13 PMSchedulingDisabled
set on node, no other events)witty-jelly-95845
06/06/2022, 1:18 PMmetadata:
annotations:
<http://harvesterhci.io/maintain-status|harvesterhci.io/maintain-status>: running
spec:
taints:
- effect: NoSchedule
key: <http://kubevirt.io/drain|kubevirt.io/drain>
value: scheduling
"
from https://github.com/harvester/harvester/issues/1731#issuecomment-1015171613wide-garage-9465
06/06/2022, 1:38 PM"Must have at least 4 nodes to support live migration"This would be very weird 🤔 I didn't ever see this statement before. When I kill a node, the VMs will be migrated, even in my 3 node setup, so I also wonder whether this is true or if it's maybe only a requirement for the maintenance mode?
witty-jelly-95845
06/06/2022, 1:41 PMwide-garage-9465
06/06/2022, 1:43 PMDraining
to take effect
Note Prior to v0.34 the drain process with live migrations was detached from theBut since v1.0.2 is using KubeVIrt v0.49.0 it can even be disregardeditself and required in addition specifying a special taint on the nodes:kubectl drain
. This is no longer needed. The taint will still be respected if provided but is obsolete.kubectl taint nodes foo <http://kubevirt.io/drain=draining:NoSchedule|kubevirt.io/drain=draining:NoSchedule>
ancient-pilot-51731
06/06/2022, 2:16 PMwide-garage-9465
06/06/2022, 3:23 PMif so the websocket is disconnected and can not push the latest data to your browser.Doesn't seem to be the case. I'm also watching the cluster in parallel to see if there's something happening there after I press the button. I can see the node being set to
SchedulingDisabled
, but VMs are not being migrated even after like 30 minutes.
And the UI does not change from "Entering Maintenance Mode".
Yeah, I think I'll open an issue with more debug info 👍evictionStrategy: LiveMigrate
set, which is why nothing happens and the node never finishes entering the maintenance mode. I edited the VM objects manually and recreated the VMIs to get the strategy set and then the maintenance mode works 🤔Run VM on any available node
is set on all of them
• Using a management network in bridge mode - masquerade
is set for all of them
Now I'm lost again 😅great-bear-19718
06/06/2022, 10:16 PMwide-garage-9465
06/07/2022, 5:59 AMevictionStrategy
set in the template YAML. I guess that may be because you only set the node scheduling options later when creating the VM and this would influence the evictionStrategy.
Issue is here: https://github.com/harvester/harvester/issues/2357great-bear-19718
06/07/2022, 7:32 AMwitty-jelly-95845
06/07/2022, 7:49 AMwide-garage-9465
06/07/2022, 7:52 AM