Actions
Bug #18810
closedInventories processed after several hours
Status:
Rejected
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:
To do
Regression:
Description
On a rudder 6.2.0, inventories are not coming in "pending node" before a lots of time.
In the log, we can see:
[2021-01-06 16:49:44+0100] INFO inventory-processing - Watch new inventory file 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs' with signature available: process. [2021-01-06 16:49:45+0100] INFO inventory-processing - Watch new inventory file 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs' with signature available: process.
And the corresponding inventories remain forever in /var/rudder/inventories/incoming
If we touch only one file, it works as expected:
[2021-01-06 16:37:04+0100] INFO inventory-processing - Watch new inventory file 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs' with signature available: process. [2021-01-06 16:40:49+0100] INFO inventory-processing - Report 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs' for node 'v-mysql02' [99c6333c-6df1-4da0-84fc-f5af75cc2367] (signature:certified) processed in 3 minutes, 40 seconds and 399 milliseconds ms
And if we wait a couple second before before adding each file, it starts as expected but never ends:
[2021-01-06 16:57:07+0100] TRACE inventory-processing - Processing new file: /var/rudder/inventories/incoming/xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs [2021-01-06 16:57:07+0100] DEBUG inventory-processing - Watch new inventory file 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs' without signature available: wait for it 10s before processing. [2021-01-06 16:57:15+0100] DEBUG inventory-processing - Not starting process of 'xxx-99c6333c-6df1-4da0-84fc-f5af75cc2367.ocs.sign': already processing.
Actions