Project

General

Profile

Actions

Bug #9626

closed

The locks are removed every 10 minutes by check-rudder-agent when there is no promise update

Added by Alexis Mousset about 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #7285: Only run inventory collection when no other is runningRejectedNicolas CHARLES2015-10-16Actions
Actions

Also available in: Atom PDF