HomeClusterLabs Projects

Log: scheduler: warn if multiple top-level rules are used

Description

Log: scheduler: warn if multiple top-level rules are used

Multiple top-level rules within location constraints, which go through
generate_location_rule(), already have a warning.

This covers multiple top-level rules that go through pcmk__evaluate_rules(). It
is not particularly significant since they can only be used within lifetime
elements, which already have their own deprecation warning, and attribute sets,
where they are already prevented by the schema.

Details

Provenance
kgaillotAuthored on Apr 1 2024, 1:44 PM
Parents
rPc21fa3651ae5: Refactor: libcrmcommon,libpe_rules: move ruleset evaluation to libcrmcommon
Branches
Unknown
Tags
Unknown