Project

General

Profile

Bug #12760

cannot add two node properties at the same time from inventory

Added by Nicolas CHARLES 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
75

Description

I have a hook outputing

{
  "hello_inventory": "a simple string value from inventory",
  "user":{
    "id": "xxxxxx",
    "accepted": true
  }
}

I was expecting to have two keys on the node, but I get only one (see screenshot)

Capture du 2018-06-07 17-40-02.png (19.7 KB) Capture du 2018-06-07 17-40-02.png Nicolas CHARLES, 2018-06-07 15:40
1367

Associated revisions

Revision a07ea64f (diff)
Added by François ARMAND 6 months ago

Fixes #12760: cannot add two node properties at the same time from inventory

History

#1 Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 4.3.2 to 4.3.3

#2 Updated by Nicolas CHARLES 6 months ago

  • Category changed from Web - Nodes & inventories to Agent

Issue is on the server side

The generated inventory containes:

<CUSTOM_PROPERTIES>[{&quot;user&quot;:{&quot;id&quot;:&quot;xxxxxx&quot;,&quot;accepted&quot;:true},&quot;hello_inventory&quot;:&quot;a simple string value from inventory&quot;}]</CUSTOM_PROPERTIES>

so all output is there

#3 Updated by Nicolas CHARLES 6 months ago

  • Category changed from Agent to Web - Nodes & inventories

#4 Updated by Benoît PECCATTE 6 months ago

  • Severity set to Critical - prevents main use of Rudder | no workaround | data loss | security
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 76

#5 Updated by François ARMAND 6 months ago

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

#6 Updated by François ARMAND 6 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/ldap-inventory/pull/134

#7 Updated by François ARMAND 6 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released
  • Priority changed from 76 to 75

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

Also available in: Atom PDF