Project

General

Profile

Actions

Bug #29678

open

When we trigger a full policy generation, we have an error about missing hash file (twice)

Bug #29678: When we trigger a full policy generation, we have an error about missing hash file (twice)

Added by François ARMAND 9 days ago. Updated 7 days ago.

Status:
Pending release
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Since 9.2 and #28503, on a full regeneration, we get:

ERROR policy.generation - Error when trying to read node configuration hashes, they will be ignored: a full generation will take place.
   Error was: Inconsistency: Unexpected end of input

This is because when we switches to zio-json, we didn't take care to manage the fact that an empty file leads to that codec error in place of the old "ok, nothing to see here".


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #28503: Migrate Node hash repo to zio-jonReleasedClark ANDRIANASOLOActions

Updated by François ARMAND 9 days ago Actions #1

Updated by François ARMAND 9 days ago Actions #2

  • Status changed from New to In progress
  • Assignee set to François ARMAND

Updated by François ARMAND 9 days ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/7458

Updated by Anonymous 7 days ago Actions #4

  • Status changed from Pending technical review to Pending release
Actions

Also available in: PDF Atom