Page MenuHomeClusterLabs Projects

Improve validation of options
Open, LowPublic

Assigned To
Authored By
Apr 8 2024, 3:02 PM
  • Restricted Project
  • Restricted Project
Referenced Files


Some options in lib/common/options.c's lists of pcmk__cluster_option_ts either have no validation function, or have a validation function that's too restrictive or too permissive. For example, integer/nonnegative integer ranges are not always correct.

Until a behavioral backward compatibility break, we can't change validation of values, because Pacemaker uses the configured default (if any) if a value fails to validate. That could result in a different option value being applied at runtime for the same configured value.

Event Timeline

nrwahl2 created this task.
nrwahl2 created this object with edit policy "Restricted Project (Project)".
kgaillot moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 15 2024, 1:47 PM