Enhancement #7526
closedHousekeeping of /var/rudder/inventories/received|failed|etc
Description
Please consider some Housekeeping of /var/rudder/inventories/received, as apparently there is no removal of old but successfully uploaded inventories.
Other directories should have the same housekeeping, there is no use keeping failed inventories for years.
Updated by François ARMAND over 8 years ago
There is no garbage collection on inventories. The idea was that it was good to find if a node/inventory have had an inventory processed at some point. But I clearly see how it is useless to keep them all, and even dangerous (ever growing directories are generally not a so good idea).
So, what wouls you think be a good clean-up frequency? Configurable or not?
Without too much thinking, it seems that deleting inventories older than 1 month would be ok as a default, with an user configurable option in the admin screen.
Updated by Janos Mattyasovszky almost 8 years ago
- Related to Question #9719: Node deletes are not properly cleaned up added
Updated by Benoît PECCATTE almost 8 years ago
- Tracker changed from Bug to User story
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to Ideas (not version specific)
Updated by Alexis Mousset almost 3 years ago
- Category changed from Techniques to Web - Nodes & inventories
Updated by François ARMAND almost 3 years ago
Now that we store node content in `/var/rudder/fact-repository/nodes`, we should just delete inventories older that say 1 month in inventories sub directories.
Updated by François ARMAND almost 3 years ago
- Tracker changed from User story to Enhancement
Updated by François ARMAND almost 2 years ago
- Subject changed from Housekeeping of /var/rudder/inventories/received to Housekeeping of /var/rudder/inventories/received|failed|etc
- Description updated (diff)
- Target version changed from Ideas (not version specific) to 7.2.4
- Regression set to No
Updated by François ARMAND almost 2 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND almost 2 years 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/rudder/pull/4616
Updated by François ARMAND almost 2 years ago
Both /var/rudder/inventories/{incoming,accepted-nodes-updates}
are housekept along with new inventories (the batch that look for inventories missed by inotify).
Updated by Anonymous almost 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|b5367ea4d70293191d77401b66d72247e8eb0c1a.
Updated by Vincent MEMBRÉ almost 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.4 which was released today.