Bug #8871
closed
missing rudder_expected_reports.csv.res when starting the agent for the first time after an update
Added by Alexis Mousset over 8 years ago.
Updated over 2 years ago.
Description
The is sometimes an error indicating that /var/rudder/cfengine-community/inputs/rudder_expected_reports.csv.res cannot be read by the agent. It solves itself at the next run.
- Priority changed from N/A to 1 (highest)
It happens when the promises are updated during a run. The .res file is deleted and the current agent cannot read it. We can fix it by moving these files to the state directory which is not overwritten by the update.
We can even allow multiple concurrent run with different promises by adding (for instace) the current pid to the file name. We can remove it at the end of the run, and add a cleanup promise like for output files, in case of interrupted runs.
- Related to Bug #8909: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update - technique changes added
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/ncf/pull/423
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:b42b0e69e3ec3249a9b596637d046d2444dae704.
- Related to Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file added
- Related to deleted (Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file)
- Status changed from Pending release to Released
This bug has been fixed in ncf version that comes with Rudder 3.1.15/14 and 3.2.8/7 which were released today.
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF