Actions
Bug #15422
closedSome inventories are not correctly noticed by inotify file watcher
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Error - Blocking
Regression:
Description
After installing a 5.1, the server received a .ocs.gz inventory
root@server:/var/rudder/inventories# ls -alh incoming/ total 32K drwxrwx---. 2 rudder apache 122 Aug 7 08:29 . drwxr-x--x. 8 root root 113 Aug 7 08:39 .. -rw-r--r--. 1 apache apache 25K Aug 7 08:27 relay-6b73b256-8626-45bc-a698-a7e8ebe138c2.ocs.gz -rw-r--r--. 1 apache apache 1.2K Aug 7 08:27 relay-6b73b256-8626-45bc-a698-a7e8ebe138c2.ocs.sign
and it completely ignored it
resending the inventory from the node solved the issue, as it was uncompressed
root@server:/var/rudder/inventories# ls -alh incoming/ total 216K drwxrwx---. 2 rudder apache 119 Aug 7 08:41 . drwxr-x--x. 8 root root 113 Aug 7 08:39 .. -rw-rw----. 1 root root 210K Aug 7 08:41 relay-6b73b256-8626-45bc-a698-a7e8ebe138c2.ocs -rw-r--r--. 1 apache apache 1.2K Aug 7 08:41 relay-6b73b256-8626-45bc-a698-a7e8ebe138c2.ocs.sign
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 6.0.0~beta1 to 6.0.0
Updated by François ARMAND about 5 years ago
- Target version changed from 6.0.0 to 6.0.0~beta1
Updated by François ARMAND about 5 years ago
- Related to Bug #15433: Sometimes, somes inventories are received as .ocs.gz, and not handled by the webapp added
Updated by François ARMAND about 5 years ago
- Target version changed from 6.0.0~beta1 to 6.0.0
It's most likelly a ducplicate of #15433.
The problem doesn't seems to be with the fact that file is zipped (other .gz
inventories are correctly processed, and the code does know what to do with compressed files), but more likelly the file watcher is missing some events.
We need to implement a periodic full scan of inventories to avoid that problem.
Can go in beta2
Updated by François ARMAND about 5 years ago
- Subject changed from Some inventories are not handled in 5.1 to Some inventories are not correctly noticed by inotify file watcher
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 6.0.0 to 6.0.1
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 6.0.1 to 6.0.2
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 6.0.2 to 6.0.3
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 6.0.3 to 6.0.4
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.4 to 6.0.5
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.5 to 6.0.6
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.6 to 6.0.7
Updated by François ARMAND over 4 years ago
- Related to Bug #17390: Root inventory is not processed after install added
Updated by François ARMAND over 4 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 4 years ago
- Target version changed from 6.0.7 to 6.1.0~rc1
Updated by François ARMAND over 4 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/2982
Updated by François ARMAND over 4 years ago
- Related to deleted (Bug #17390: Root inventory is not processed after install)
Updated by François ARMAND over 4 years ago
- Has duplicate Bug #17390: Root inventory is not processed after install added
Updated by François ARMAND over 4 years ago
- Related to deleted (Bug #15433: Sometimes, somes inventories are received as .ocs.gz, and not handled by the webapp)
Updated by François ARMAND over 4 years ago
- Has duplicate Bug #15433: Sometimes, somes inventories are received as .ocs.gz, and not handled by the webapp added
Updated by François ARMAND over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|b9ead1b60a783bcef44959f6892f82a0395e3bc7.
Updated by Nicolas CHARLES over 4 years ago
- Fix check changed from To do to Error - Blocking
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~rc1 which was released today.
Actions