Actions
Bug #5746
closedRudder fails to generate a promises.cf for (at least) the root server
Status:
Rejected
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The promises generation fails like this:
Technical details ⇨ cf-promise check fails for promises generated at '/var/rudder/cfengine-community/inputs.new' ⇨ 2014-11-06T16:29:38+0100 error: Can't stat file '/var/rudder/cfengine-community/inputs.new/promises.cf' for parsing. (stat: No such file or directory)
In the logs:
[2014-11-06 16:29:38] INFO com.normation.rudder.services.policies.DeploymentServiceImpl - Start policy generation, checking updated rules [2014-11-06 16:29:38] INFO com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [root] [2014-11-06 16:29:38] ERROR com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - The generated promises are invalid: cf-promise check fails for promises generated at '/var/rudder/cfengine-community/inputs.new'<-2014-11-06T16:29:38+0100 error: Can't stat file '/var/rudder/cfengine-community/inputs.new/promises.cf' for parsing. (stat: No such file or directory) [2014-11-06 16:29:38] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent - Error when updating policy, reason 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-11-06T16:29:38+0100 error: Can't stat file '/var/rudder/cfengine-community/inputs.new/promises.cf' for parsing. (stat: No such file or directory) [2014-11-06 16:29:38] ERROR com.normation.rudder.batch.AsyncDeploymentAgent - Policy update error for process '24' at 2014-11-06 16:29:38: Cannot write configuration node
Indeed, /var/rudder/cfengine-community/inputs.new/promises.cf is not here. If I run "touch /var/rudder/cfengine-community/inputs.new/promises.cf", the next generation succeeds but the next one after fails again.
It is just like if the webapp failed / forgot to create the file, but was able to use / unlink it...
Updated by Jonathan CLARKE about 10 years ago
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
Is this still happening? Nico, can you look into this please?
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from 8 to Rejected
It does not happen anymore, i'm rejecting this ticket
Actions