Project

General

Profile

Actions

Bug #25164

closed

When agent version is missing in inventory, we get a security token error

Added by François ARMAND 5 months ago. Updated 5 months 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:
To do
Regression:
No

Description

When an inventory with missing agent version is sent, then we get unrelated error:

root@server:/var/rudder/inventories# cat failed/AGENT1-514995c4-fc92-4942-bcbc-e09d89d19b79.ocs.reject-2024-07-18T13\:06\:32Z.log 
2024-07-18T13:06:32Z
Inventory 'AGENT1-514995c4-fc92-4942-bcbc-e09d89d19b79.ocs' for Node '514995c4-fc92-4942-bcbc-e09d89d19b79' failed to be saved in Rudder. Cause was: Can't merge inventory in LDAP directory, aborting
cause was: Exception when commiting inventory, abort.
cause was: Unexpected: only certificate are supported for agent security token since Rudder 7.0
Actions #1

Updated by François ARMAND 5 months ago

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

Updated by François ARMAND 5 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/5774
Actions #3

Updated by Anonymous 5 months ago

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

Updated by Anonymous 5 months ago

Actions #5

Updated by Anonymous 5 months ago

Actions #6

Updated by Anonymous 5 months ago

Actions #7

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.6 which was released today.

Actions

Also available in: Atom PDF