Actions
Bug #6768
closedSometimes, promises get corrupted to the point they can't be automatically repaired on a node
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Sometimes, for some unknown reasons, promises get corrupted (files are not there) on the node.
A workaround to restore the situation is to add a step in check_rudder_agent script that would:
- check if failsafe.cf, promises.cf and common/1.0/update.cf are there and non empty
- if they are there, do nothing
- if not, copy from /opt/rudder/share/initial-promises to /var/rudder/cfengine-community/inputs, and execute then cf-agent -Kf failsafe.cf && cf-agent
- if any of these file is empty, nothing can work at all
- running cf-promises can be ressource intensive, so running it always is not a so great idea
- if these files are empty, then the failsafe has just be run, so the -K is mandatory. The cf-agent was not run recently (valid promises are more than 5 minutes old), so no need of -K for that
Updated by Benoît PECCATTE over 9 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-packages/pull/687
Updated by Benoît PECCATTE over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|24a0795ab5e341d44eeda02425d6bc1243dfec30.
Updated by Benoît PECCATTE over 9 years ago
Applied in changeset rudder-packages|5f5d71b9770354a3b44dec5dadf0cec7ac463499.
Updated by Vincent MEMBRÉ over 9 years ago
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
Actions