Bug #8871
closedmissing rudder_expected_reports.csv.res when starting the agent for the first time after an update
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.
Updated by François ARMAND over 8 years ago
- Priority changed from N/A to 1 (highest)
Updated by Alexis Mousset over 8 years ago
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.
Updated by Alexis Mousset over 8 years ago
- Related to Bug #8909: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update - technique changes added
Updated by Alexis Mousset over 8 years ago
- Status changed from New to In progress
Updated by Alexis Mousset over 8 years ago
- 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
Updated by Alexis Mousset over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset b42b0e69e3ec3249a9b596637d046d2444dae704.
Updated by Nicolas CHARLES about 8 years ago
- Related to Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file added
Updated by Vincent MEMBRÉ about 8 years ago
- Related to deleted (Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file)
Updated by Vincent MEMBRÉ about 8 years ago
- 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.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods