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 over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

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

Updated by Alexis MOUSSET over 4 years ago

  • Subject changed from :q to The locks are removed every 10 minutes by check-rudder-agent when there is no promise update
  • Description updated (diff)
  • Category set to System techniques
Actions #2

Updated by Alexis MOUSSET over 4 years ago

  • Target version set to 3.2.10
Actions #3

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET
Actions #4

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1080
Actions #5

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #7285: Only run inventory collection when no other is running added
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.1 and 3.2.10 which were released today.

Actions

Also available in: Atom PDF