Project

General

Profile

Actions

User story #2604

closed

Be able to NOT historize inventories

Added by François ARMAND over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
Web - Nodes & inventories
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Today, each time we get an inventory through the inventory-web webapplication, an archive of the LDIF for that inventory is stored in the directory defined by the configuration property "history.inventories.rootdir" (by default, /var/rudder/inventories/historical)

That directory could growth a lot (a file is roughly 100k, so for 100 nodes and 3 months, that leads to 1Go of storage.

The main point is that not all these file are not used today in Rudder - they could be used to show previous inventory state of a node, even to diff between two inventory version, but for now, they are not.
Only the inventory file matching the time for the node acceptance is used to display it's inventory at that date (and we don't have a way, for now, to say "keep only the inventory file that will match the inventory for when the user is going to accept the node")

So, it could be handy to disable that historization in a property file (inventory-web.properties) and re-enable it when the logic in Rudder side is implemented.

Note that desactivating the histororization mean that the user will not be able to see the inventory of the acceptation time of the node.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #3058: Be able to historize inventories PARTIALLY (keep required ones for UI, but not others)RejectedActions
Actions

Also available in: Atom PDF