Page MenuHomeClusterLabs Projects

Improve validation of options
Open, LowPublic

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

Description

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