Huge latency between inventory sent and inventory appears in Rudder
There is a huge latency between the moment someone run "rudder agent inventory" on a node and the moment the corresponding node appears in new nodes.
This is due to the need for rudder agent to run on the root server, which can take up to 5 minutes.
Every and all Rudder users hate that behavior. There is a workaround with a perl file watcher that removes that latency (see: https://github.com/Normation/rudder-tools/tree/master/contrib/rudder-inventory-daemon) but it is not native to Rudder, so the user first experience is still poor.
So, we need to add the file watcher directly into Rudder. By doing that, we also remove the need to send inventories by HTTP from localhost to localhost...
We still need to keep the old REST API, because file watchers are not very robust and so we have rudder agent to keep missed inventories.
We also need to be able to not use the file watcher (by configuration file), and to control it (start/stop/restart) by API.
Fixes #14080: Huge latency between inventory sent and inventory appears in Rudder
#1 Updated by François ARMAND 3 months 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/ldap-inventory/pull/144
#2 Updated by François ARMAND 3 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset ldap-inventory|6fab6ee49dde48b50c32a645537e81127b8fff56.
#3 Updated by Vincent MEMBRÉ 2 months ago
- Status changed from Pending release to Released