Actions
Bug #9114
closedBug #8422: failsafe sometimes produce rudder reports
Merge error in update.cf
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Some old reports reappeared in a methods section:
(config|rudder_tools_updated|rudder_ncf_common_updated|rudder_ncf_local_updated|server_ok|executor_ok).!(rudder_promises_generated_tmp_file_error|rudder_tools_updated_error|rudder_tools_update_error|rudder_ncf_common_update_error|rudder_ncf_local_update_error|no_update|rudder_ncf_hash_update_error):: "any" usebundle => rudder_common_report("Common", "result_repaired", "hasPolicyServer-root@@common-root@@4", "Update", "None", "Rudder policy, tools or ncf instance were updated or CFEngine service restarted"); server_ok:: "@@Common@@log_repaired@@hasPolicyServer-root@@common-root@@4@@Update@@None@@${g.execRun}##${g.uuid}@#Started the server (cf-serverd)"; executor_ok:: "@@Common@@log_repaired@@hasPolicyServer-root@@common-root@@4@@Update@@None@@${g.execRun}##${g.uuid}@#Started the scheduler (cf-execd)";
should be replaced by:
pass3.server_ok:: "any" usebundle => rudder_common_report("Common", "log_repaired", "hasPolicyServer-root@@common-root@@4", "Update", "None", "Started the server (cf-serverd)"); pass3.executor_ok:: "any" usebundle => rudder_common_report("Common", "log_repaired", "hasPolicyServer-root@@common-root@@4", "Update", "None", "Started the scheduler (cf-execd)");
Actions