Project

General

Profile

Actions

Bug #9187

closed

Bug #8871: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update

logger_rudder evaluates at each call the expected_reports_temp file

Added by Nicolas CHARLES about 6 years ago. Updated 4 months ago.

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

Description

Since the change of implementation for logger_rudder where we recreate the rudder_expected_reports.${this.promiser_pid}.csv file at each run, logger_rudder will evaluate at each call the content of the temp file due to invalid class condition:
logger_rudder_temp_resfile_repaired is always set

impact: run are slower

we ought to change this class condition in a proper way


Subtasks 1 (0 open1 closed)

Bug #9188: The first report is skipped after 9187ReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES about 6 years ago

  • Related to Bug #8871: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update added
Actions #2

Updated by Nicolas CHARLES about 6 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/460
Actions #4

Updated by Nicolas CHARLES about 6 years ago

with 19 ncf components (12 out of the 19 being result n/a), runs are 2 seconds faster

Actions #5

Updated by Nicolas CHARLES about 6 years ago

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

Applied in changeset commit:f41005db2ae6bfb29839a66b332688f39036e865.

Actions #6

Updated by Vincent MEMBRÉ almost 6 years ago

  • Related to deleted (Bug #8871: missing rudder_expected_reports.csv.res when starting the agent for the first time after an update)
Actions #7

Updated by Vincent MEMBRÉ almost 6 years ago

  • Parent task set to #8871
Actions #8

Updated by Vincent MEMBRÉ almost 6 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 #9

Updated by Alexis Mousset 4 months ago

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

Also available in: Atom PDF