Bug #3849
closedPromises are not updated when running agent too often (< 5 minutes beteween 2 executions)
Description
Sometimes, you need your node to apply new promises fast and don't want to wait until agent execution, so you run the agent manually using cf-agent -K -f failsafe.cf to update the node promises.
But the promises are not updated, only the timestamp file (rudder_promises_generated) is updated :
-> Updated /var/rudder/cfengine-community/inputs/rudder_promises_generated from source /var/rudder/share/da78aeee-5869-4482-9875-2de78d3d9102/rules/cfengine-community/rudder_promises_generated on myserverRudder
when looking to pomise file, there is no updates on them, they still got old values.
Waiting a little longer, to be at least 5 minute later, and running again the failsafe update the promises :
-> Updated /var/rudder/cfengine-community/inputs/checkGenericFileContent/3.2/checkGenericFileContent.cf from source /var/rudder/share/da78aeee-5869-4482-9875-2de78d3d9102/rules/cfengine-community/checkGenericFileContent/3.2/checkGenericFileContent.cf on myserverRudder
This is due to a persistent classes before the promises update :
rudder_promises_generated_repaired.!config.!config_ok.!root_server::
config and config_ok are persistent classes (for 4 minutes) which means that there can be no update in this for 4 for minutes
remove those class checks should fiw this.
Updated by Vincent MEMBRÉ over 11 years ago
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Matthieu CERDA
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/169
Pull request here : https://github.com/Normation/rudder-techniques/pull/169
Updated by Matthieu CERDA over 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Done in commit commit:80ca1a6ccf34d7fa13477f3909413abd44162936
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.6.4, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-September/000045.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog26
- Download information: http://www.rudder-project.org/foswiki/Download/
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques