Actions
Bug #9626
closedThe locks are removed every 10 minutes by check-rudder-agent when there is no promise update
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
It seems we have an issue with the conditions to touch the last update files, and it appears that the locks are copies every 10 minutes, even when not necessary. Seen on 4.0, may also be in 3.2.
[root@amo inputs]# rudder agent check WARNING: The file /var/rudder/cfengine-community/last_successful_inputs_update is older than 10 minutes, the agent is probably stuck. Purging the CFEngine lock database... Done ok: Rudder agent check ran without errors. [root@amo inputs]# rudder agent check WARNING: The file /var/rudder/cfengine-community/last_successful_inputs_update is older than 10 minutes, the agent is probably stuck. Purging the CFEngine lock database... Done ok: Rudder agent check ran without errors.
But the last_successful_inputs_update file is only updated when files are actually copied.
We should decide in which conditions we want to touch it, and adapt our check script.
I may explain a lot of issues with lost process accounting.
Actions