Project

General

Profile

Actions

Bug #5409

closed

Bug #5402: Agent can't run because some ncf promises are CFEngine 3.6 specific

Fisrt promise generation fail on Rudder server ( /var/rudder/ncf/local missing)

Added by Vincent MEMBRÉ over 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Just after a fresh install of rudder 2.10.5 snapshot (after #5402 and #5397 were fixed), an error occurs when generating promises:

Policy update error for process '1' at 2014-08-19 21:32:11 <- Cannot write configuration node <- Error when preparing rules for agents <- The generated promises are invalid!errormessage!cf-promise check fails for promises generated at '/var/rudder/cfengine-community/inputs.new'<-2014-08-19T21:32:11+0200 error: Can't stat file '/usr/bin/find: `/var/rudder/ncf/local/10_ncf_internals': No such file or directory' for parsing. (stat: No such file or directory)

This is because local ncf files were not copied yet. This will be done at first cf-agent -KIf failsafe.cf, but until that run, it will not work.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #5397: The file_from_template generic method can not use mustache templates on pre-3.6 CFEngineReleasedJonathan CLARKEActions
Related to Rudder - Bug #5410: shell script that list all compatible .cf files should ignore non-existant directoriesReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF