HomeClusterLabs Projects

Low: scheduler: Use default when series max value is out of bounds

Description

Low: scheduler: Use default when series max value is out of bounds

Previously, the scheduler used crm_parse_ll() to parse the pe-*-series-max
cluster options, which meant that out-of-bounds values would be handled
unpredictably. (Invalid values correctly used the default because the value was
validated before calling crm_parse_ll().)

Now, use pcmk__scan_min_int(), so proper bounds checking is done.

Details

Provenance
kgaillotAuthored on Apr 5 2021, 2:33 PM
Parents
rP4d0813e7c8aa: Refactor: scheduler: functionize handling calculation request
Branches
Unknown
Tags
Unknown

Event Timeline