- Sort to be balanced guests first by size of affinity group (ASC)
- Sort to be balanced guests afterwards by used memory size (ASC/DESC)
- Validate if lowest used node is still the lowest one
Fixes: #378Fixes: #390
* Fixed pool based node pinning (@gyptazy). [#395]
* Add support for Proxmox's native HA (node-affinity) rules for pinning guests to nodes (@gyptazy). [#391]
Fixes: #395Fixes: #391
* Add support of native rules for affinity/anti-affinity types in Proxmox VE
* Streamline affinity/anti-affinity rules by Tags, Pools and native Proxmox rules
Fixes: #391
During runs in which affinity checks determine balancing actions,
there was a small error in a boolean calculation that caused
ProxLB to always rebalance, as it exited the verification loop with
a failure the first time it saw a VM that actually passed affinity
checks.