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 7 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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 CLARKEActions
Bug #9187: logger_rudder evaluates at each call the expected_reports_temp fileReleasedAlexis MoussetActions
Bug #9188: The first report is skipped after 9187ReleasedNicolas CHARLESActions

Related issues 1 (0 open1 closed)

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 7 years ago

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

Updated by Alexis Mousset over 7 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 7 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 7 years ago

  • Status changed from New to In progress
Actions #5

Updated by Alexis Mousset over 7 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 7 years ago

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

Applied in changeset commit:b42b0e69e3ec3249a9b596637d046d2444dae704.

Actions #7

Updated by Nicolas CHARLES over 7 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 7 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 7 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 #10

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #11

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF