Project

General

Profile

Bug #6941

ntp Technique does not report when repairing

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

Status:
Released
Priority:
1
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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
#1

Updated by François ARMAND over 5 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.

#2

Updated by François ARMAND over 5 years ago

  • Assignee set to Nicolas CHARLES
#3

Updated by Nicolas CHARLES over 5 years ago

  • Target version changed from 2.10.16 to 3.0.8

this bug is only in 3.0

#4

Updated by Nicolas CHARLES over 5 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
#5

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Matthieu CERDA over 5 years ago

#7

Updated by Vincent MEMBRÉ over 5 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
#8

Updated by François ARMAND over 5 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.

Also available in: Atom PDF