HomeClusterLabs Projects

Fix: scheduler: compare anti-colocation dependent negative preferences against…

Description

Fix: scheduler: compare anti-colocation dependent negative preferences against stickiness

Previously, when incorporating the preferences of colocation dependents,
negative preferences of anti-colocated dependents were always ignored.

Now, the absolute value of the preference is compared against the configured
primary's stickiness, to allow more situations in which both can run.

Details

Provenance
kgaillotAuthored on Jun 5 2023, 4:38 PM
Parents
rP440c14c5b3cf: Refactor: scheduler: pass colocation to add_colocated_node_scores()
Branches
Unknown
Tags
Unknown