Project

General

Profile

Actions

Bug #3244

closed

Detection of last promise update seems to be broken

Added by Nicolas CHARLES almost 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

It seems that the detection of when the promises have been updated last is not fully functional
On centos-5-32

 /var/rudder/cfengine-community/bin/cf-agent -KI -f failsafe.cf
 -> Touched (updated time stamps) /var/rudder/cfengine-community/last_successful_inputs_update
 -> Touched (updated time stamps) /var/rudder/cfengine-community/last_successful_inputs_update
 -> Deleted file /var/rudder/cfengine-community/state/cf_lock.db
R: @@Common@@log_repaired@@hasPolicyServer-root@@common-root@@95@@Update@@None@@2013-02-05 19:37:06+01:00##248c8e3d-1bf6-4bc1-9398-f8890b015a50@#Promises had not been updated for over an hour, this could indicate a broken lockfile. cf_lock.db was removed.
 -> Touched (updated time stamps) /var/rudder/cfengine-community/last_successful_inputs_update
 -> Touched (updated time stamps) /var/rudder/cfengine-community/last_successful_inputs_update
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@95@@Update@@None@@2013-02-05 19:37:06+01:00##248c8e3d-1bf6-4bc1-9398-f8890b015a50@#Policy and dependencies already up to date. No action required.

ls -al /var/rudder/cfengine-community/last_successful_inputs_update
-rw------- 1 root root 0 fév  5 19:37 /var/rudder/cfengine-community/last_successful_inputs_update
date
mar fév  5 19:39:58 CET 2013

Something seems not right there


Subtasks 1 (0 open1 closed)

Bug #3341: Correct a broken time range definition in the system promises that breaks the broken BDB detectionReleasedNicolas CHARLES2013-03-05Actions
Actions

Also available in: Atom PDF