Add an option to make resource affinity rules "strict/loose"

*Daedalus

New Member
Feb 5, 2024
11
2
3
In HA node affinity rules, we have a "Strict" checkbox, which will not allow a VM/CT to be powered on outside of the selected nodes.
With it unchecked, guests can, but they will always prefer a selected resource.

1757615270307.png

In the HA resource affinity rules, we do not:

1757615313833.png

And it behaves as if there is a "Strict" box, and it is enabled. That is, a guest cannot be migrated or started there.

I'd like to see an option to make these affinity rules "loose".

I have a three node cluster, and I keep certain guests apart for performance reasons, but during maintenance or node failures, I would still prefer them to run with reduced performance rather than not starting at all until the node comes back online.
 
  • Like
Reactions: patrice damezin
Hi!

Thanks for the feedback! Correct, HA resource affinity rules are currently strict only as one of the initial main use cases was to provide strict separation in case of a resource limitation, e.g. a specific PCIe device is only available once on each node and so guests must not be on the same node at any time, but the introduction of a non-strict variant was and is still planned in the future for such use cases as yours.

If you want you can create a Bugzilla entry for the feature request [0], so that this feature can be tracked there for other users as well.

[0] https://bugzilla.proxmox.com/enter_bug.cgi?product=pve&component=HA