Project

General

Profile

Actions

Bug #13916

closed

After changing node hostname, old inventory with incorrect name is not deleted and sent to Rudder server

Added by Alexis Mousset over 5 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
99
Name check:
Fix check:
Regression:

Description

After changing a node's hostname, I get the following issue:

  • The old inventory is kept in /var/rudder/tmp/inventories
  • When a new inventory is created, it is placed next to the old one in /var/rudder/tmp/inventories
  • Both inventories are sent to the server
  • The wrong inventory is treated after the good, one, so the hostname (and possibly other changes) never gets updated in the server.

We need to clean old inventories on the agent to avoid such behavior.

Setting to major as it may hide important inventory updates.

Actions

Also available in: Atom PDF