Bug #16462
closed
Syntax error in clockConfiguration.cf line 99
Added by Laurent Santoul almost 5 years ago.
Updated almost 5 years ago.
Description
Hi,
I can't deploy policies for date & time settings on my Linux assets because of this error.
Error message says that two colon characters are missing at the end of line 99, but when I add those by editing the file they are systematically removed.
Can you check and take the appropriates measures please ?
⇨ Policy update error for process '53' at 2019-12-27 10:09:40
⇨ Cannot write nodes configuration
⇨ Error when executing hooks:
Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/share/cd70bd93-9d73-433b-8cbb-3ed40f3c3aae/rules.new/cfengine-community/clockConfiguration/3.2/clockConfiguration.cf:99:10: error: syntax error
pass3.linux
^
/var/rudder/share/cd70bd93-9d73-433b-8cbb-3ed40f3c3aae/rules.new/cfengine-community/clockConfiguration/3.2/clockCo...] (for node(s) cd70bd93-9d73-433b-8cbb-3ed40f3c3aae)
Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/cfengine-community/inputs.new/clockConfiguration/3.2/clockConfiguration.cf:99:10: error: syntax error
pass3.linux
^
Best Regards,
Laurent
- Category changed from System techniques to Techniques
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- 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/1569
To fix it you need to edit /var/rudder/configuration-repository/techniques/systemSettings/misc/clockConfiguration/3.2/clockConfiguration.st
(the .cf file gets overwritten at each policy generation), then:
cd /var/rudder/configuration-repository/techniques
git add systemSettings/misc/clockConfiguration/3.2/clockConfiguration.st
git commit -m "Fix for bug 16462"
rudder server reload-techniques
Hi,
Thanks a lot for this quick answer, everything works fine,
Merci beaucoup,
Best Regards,
Laurent
- Subject changed from Syntaxt error in clockConfiguration.cf line 99 to Syntax error in clockConfiguration.cf line 99
- Status changed from Pending technical review to Pending release
- Name check changed from To do to Reviewed
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.2 which was released today.
Also available in: Atom
PDF