Project

General

Profile

Actions

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

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.


Subtasks 3 (0 open3 closed)

Bug #8947: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update - master branchReleasedJonathan CLARKE2016-09-06Actions
Bug #9187: logger_rudder evaluates at each call the expected_reports_temp fileReleasedAlexis MOUSSET2016-09-29Actions
Bug #9188: The first report is skipped after 9187ReleasedNicolas CHARLES2016-09-29Actions

Related issues

Related to Rudder - Bug #8909: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update - technique changesReleasedJonathan CLARKE2016-08-29Actions
Actions #1

Updated by François ARMAND over 4 years ago

  • Priority changed from N/A to 1
Actions #2

Updated by Alexis MOUSSET over 4 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.

Actions #3

Updated by Alexis MOUSSET over 4 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
Actions #4

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from New to In progress
Actions #5

Updated by Alexis MOUSSET over 4 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
Actions #6

Updated by Alexis MOUSSET over 4 years ago

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

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file added
Actions #8

Updated by Vincent MEMBRÉ over 4 years ago

  • Related to deleted (Bug #9187: logger_rudder evaluates at each call the expected_reports_temp file)
Actions #9

Updated by Vincent MEMBRÉ over 4 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.

Actions

Also available in: Atom PDF