[ClusterLabs] Any Pacemaker users need negative utilization values?

Ken Gaillot kgaillot at redhat.com
Fri Mar 19 17:14:21 EDT 2021


Hi,

While updating some code, I noticed that Pacemaker currently allows
negative values for resource and node utilization values.

For those unfamiliar with utilization, it's a way to balance resources
by node capacity:

https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html#idm46061210829040

Logically, capacities can't be negative, but that doesn't mean someone
somewhere isn't using them for something ...

Would anyone object to Pacemaker restricting utilization values to be
non-negative? Any negative (or otherwise invalid) values configured
would be treated as 0.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list