Bug #6000
closedError output on Time settings at first run
Description
The first execution of Time Settings 3.0 technique outputs following message on Centos 6
2014-12-15T13:08:49+0000 error: /default/check_clock_configuration/files/'/etc/ntp.conf'[0]: Promised to edit '/etc/ntp.conf', but file does not exist 2014-12-15T13:08:56+0000 notice: /default/check_clock_con[FAILED]on/commands/'/etc/init.d/ntpd'[0]: Q: "...nit.d/ntpd rest": Shutting down ntpd: Q: "...nit.d/ntpd rest": Starting ntpd: [ OK ]
and ntp is not correctly configured
Relaunching the agent solves the issue
Tested on 2.11, may fail on earlier version on Technique/Rudder
Updated by Jonathan CLARKE about 10 years ago
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
This happens because the Technique tries to edit the ntp.conf file before checking the package is installed, so it does not exist.
Adding a simple check for this file's presence and using the result class of the package promise fixes this. PR in progress.
Updated by Jonathan CLARKE about 10 years ago
This is not CentOS specific, and is present from version 1.0 of this Technique.
Updated by Jonathan CLARKE about 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Target version changed from 2.11.6 to 2.10.9
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/616
Updated by Jonathan CLARKE about 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:1a73f5cde87476f8e53df906b81b62bc8390a177.
Updated by Nicolas CHARLES about 10 years ago
Applied in changeset policy-templates:commit:5e8b82b778d09788b43a0c55ac400f0f070c4efd.
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Vincent MEMBRÉ almost 10 years ago
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were released on 05/02/2015.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/