Project

General

Profile

Actions

Bug #25161

closed

Node inventory hooks are are not working properly

Added by Elaad FURREEDAN 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
145
Name check:
To do
Fix check:
Checked
Regression:
Yes

Description

This behaviour seems to be introduced in 8.1 (I have tested it on 8.0 and seems to be working as expected)
There is a problem with the node inventory hooks :
  • node-inventory-received-pending ->
    triggered every time even if the node is already accepted. For each rudder agent inventory these hooks are triggered
  • node-post-acceptance ->
    It is never triggered
  • node-inventory-received-accepted ->
    It doesn't seem to be triggered too
  • node-inventory-received-failed ->
    should test it too, I was not able to test this one
Actions #1

Updated by Elaad FURREEDAN 5 months ago

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

Updated by Elaad FURREEDAN 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5775
Actions #3

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #4

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ
Actions #5

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #6

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ
Actions #7

Updated by Elaad FURREEDAN 5 months ago

node-inventory-received-failed hooks seems to be working, to test it I have modified an inventory .ocs and move it to /var/rudder/inventories/incoming/ with his signature .ocs.sign
The inventory is moved to /var/rudder/inventories/failed/ and the hook triggered

Actions #8

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #9

Updated by Elaad FURREEDAN 5 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ
Actions #10

Updated by Anonymous 5 months ago

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

Updated by Alexis Mousset 5 months ago

  • Fix check changed from To do to Checked
Actions #12

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