Project

General

Profile

Actions

Bug #6941

closed

ntp Technique does not report when repairing

Added by François ARMAND over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In Time setting, at least v3, technique, restarting the ntp server send a log_repaired in place of a result_repaired, leading to a missing report in place of a repaired.

2015-07-08 17:20    log_repaired    Time    Time settings    Time synchronization (NTP)    -    ntpd process restarted
Actions #1

Updated by François ARMAND over 9 years ago

It seems that the condition for sending result_repaired is not consistent with the class raised on repaired:

Changing

    pass3.(ntp_installed|repaired_ntpconf|ntp_restarted)::

To

    pass3.(ntp_installed|repaired_ntpconf|service_restart_ntp_repaired|service_restart_ntpd_repaired)::

Seems to solve the problem.

Actions #2

Updated by François ARMAND over 9 years ago

  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES over 9 years ago

  • Target version changed from 2.10.16 to 3.0.8

this bug is only in 3.0

Actions #4

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas CHARLES to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/718
Actions #5

Updated by Nicolas CHARLES over 9 years ago

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

Updated by Matthieu CERDA over 9 years ago

Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Subject changed from ntp (time setting) technique send log_repaired in place of result_repaired to ntp Technique does not report when repairing
Actions #8

Updated by François ARMAND over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.8 and 3.1.1 which were released today.

Actions

Also available in: Atom PDF