Project

General

Profile

Actions

Bug #25161

open

Node inventory hooks are are not working properly

Added by Elaad FURREEDAN 9 days ago. Updated 2 days ago.

Status:
Pending release
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:
To do
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 9 days ago

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

Updated by Elaad FURREEDAN 9 days 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 9 days ago

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

Updated by Elaad FURREEDAN 9 days ago

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

Updated by Elaad FURREEDAN 9 days ago

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

Updated by Elaad FURREEDAN 9 days ago

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

Updated by Elaad FURREEDAN 9 days 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 2 days ago

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

Updated by Elaad FURREEDAN 2 days ago

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

Updated by Anonymous 2 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF