HomeClusterLabs Projects

Log: scheduler: treat config errors as processing errors

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Log: scheduler: treat config errors as processing errors

libcrmcommon has two sets of variables for special error conditions:
crm_config_error and crm_config_warning for invalid usage in the CIB,
and was_processing_error and was_processing_warning for other types of
problems encountered while running the scheduler.

The crm_config_* variables affect crm_verify's exit status and a log message,
while the was_processing_* variables affect the name the CIB input is saved as
(pe-input-N, pe-error-N, pe-warn-N) and a different log message.

This commit treats all configuration errors as also being processing errors so
that both the input name and logs indicate an error has occurred.

Details

Provenance
kgaillotAuthored on May 22 2023, 4:19 PM

Commit No Longer Exists

This commit no longer exists in the repository.