-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
problem
It appears DRS doesn't take into account affinity rules when rebalancing. I've got 5 VMs in a non-strict host anti-affinity group (I do non-strict since I have 5 total hosts, and if I take one down for maintenance its ok to co-locate during that duration).
I manually put one VM on each host, then run DRS and I can see it tries to move those VMs in the anti-affinity group so they're co-located on the same host even though there are other eligible VMs that can be moved to rebalance instead.
versions
4.22.0.0 on Ubuntu 24.04 with KVM
The steps to reproduce the bug
Steps in problem description
What to do about it?
DRS should be affinity-aware
Metadata
Metadata
Assignees
Labels
No labels