Project

General

Profile

Actions

Bug #22874

closed

NPE gz inventory file is corrupted

Added by François ARMAND 11 months ago. Updated 29 days ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

On debian10 / Rudder 7.3.2, I have an inventory that was not processed (the root one).
I tried to touch it, nothing. So I tried to stop/restart the agents, then touch again, and I got an NPE:

After some time, the inventory was processed:

EDIT: the problem is that the file has a length of 0 in my case, so the error is "expected".


Files

clipboard-202306121147-mjhdd.png (12.8 KB) clipboard-202306121147-mjhdd.png François ARMAND, 2023-06-12 11:47
clipboard-202306121149-zcx2i.png (29.7 KB) clipboard-202306121149-zcx2i.png François ARMAND, 2023-06-12 11:49
clipboard-202306291727-l961p.png (170 KB) clipboard-202306291727-l961p.png François ARMAND, 2023-06-29 17:27

Subtasks 1 (0 open1 closed)

Bug #22876: Parent upmerge breaks compilationReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND 11 months ago

  • Subject changed from NPE when receiving an inventory after stoping/starting actors to NPE gz inventory file is corrupted
  • Description updated (diff)
  • Target version changed from 7.3.3 to 7.2.8
Actions #2

Updated by François ARMAND 11 months ago

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

Updated by François ARMAND 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4823
Actions #4

Updated by Anonymous 11 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by François ARMAND 11 months ago

  • Subtask #22876 added
Actions #6

Updated by François ARMAND 10 months ago

OK:
- corrupted inventory/sign correctly lead an error log (but no stack trace)
- an inventory sent afterward is correctly parsed.

Actions #7

Updated by Vincent MEMBRÉ 10 months ago

This bug has been fixed in Rudder 7.2.8 and 7.3.3 which were released today.

Actions #8

Updated by Vincent MEMBRÉ 29 days ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF