Project

General

Profile

Actions

Bug #9114

closed

Bug #8422: failsafe sometimes produce rudder reports

Merge error in update.cf

Added by Alexis Mousset about 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
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 #1

Updated by Alexis Mousset about 8 years ago

  • Related to Bug #8422: failsafe sometimes produce rudder reports added
Actions #2

Updated by Alexis Mousset about 8 years ago

In the merge of #8422.

Actions #3

Updated by Alexis Mousset about 8 years ago

  • Status changed from New to In progress
Actions #4

Updated by Alexis Mousset about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1042
Actions #5

Updated by Alexis Mousset about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Related to deleted (Bug #8422: failsafe sometimes produce rudder reports)
Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Parent task set to #8422
Actions #8

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.15/14 and 3.2.8/7 which were released today.

Actions

Also available in: Atom PDF