Affects Version/s: None
Fix Version/s: None
I upgraded all my CFE instances to 3.6.
I enforced the new protocol on all of them by adding protocol_version => "latest"; in promises.cf and update.cf
I have a simple cron that checks if cfengine is running and alerts me if it's not.
On 2 of them (we have hundreds), I got the alert, I sshed into them and I saw cf-execd not running:
As you can see cf-monitord and cf-serverd are still running, but not cf-execd.
Just before sending the alert, in syslog, I found those lines:
Jun 21 19:13:16 recommender cf3: Syntax errors were found in the main policy file
Jun 21 19:13:37 recommender cf3: Syntax errors were found in the main policy file
Restarting CFEngine fixed it, but it's scary to see it crashing like this.
The weird thing is that I have hundreds of server applying the exact same policies and classes and it's only happening on 2.