HomeClusterLabs Projects

Fix: scheduler: constrain resource priorities and node-health-base to scoreā€¦

Description

Fix: scheduler: constrain resource priorities and node-health-base to score range

Previously, any integer was allowed for resource priorities and
node-health-base. However, they are sometimes used when calculating scores, so
it makes sense to constrain them to +/-INFINITY.

This uses char2score(), which also means they now accept the strings
"INFINITY", "+INFINITY", "-INFINITY", "red", "yellow", and "green".

Details

Provenance
kgaillotAuthored on Mar 19 2021, 5:35 PM
Parents
rPa5f96345b74c: Low: controller: bound stonith-max-attempts to a minimum of 1
Branches
Unknown
Tags
Unknown

Event Timeline