Actions
Bug #14304
closedDual inventory processing in logs
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
32
Name check:
Fix check:
Regression:
Description
With Rudder Nightly 5.0.7-SNAPSHOT, on a Centos 7.4, i get a double log of inventory processing
[2019-02-13 08:57:01] DEBUG inventory-processing - watcher ignored file .davfs.tmp1b6bc9 (unrecognized extension: 'tmp1b6bc9') [2019-02-13 08:57:01] DEBUG inventory-processing - watcher ignored file .davfs.tmp1b6bc9 (unrecognized extension: 'tmp1b6bc9') [2019-02-13 08:57:01] DEBUG inventory-processing - watcher ignored file .davfs.tmp11ae79 (unrecognized extension: 'tmp11ae79') [2019-02-13 08:57:01] DEBUG inventory-processing - watcher ignored file .davfs.tmp11ae79 (unrecognized extension: 'tmp11ae79') [2019-02-13 08:57:01] INFO inventory-processing - Watch new inventory file 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' with signature available: process. [2019-02-13 08:57:01] DEBUG inventory-processing - Start parsing inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' [2019-02-13 08:57:01] INFO inventory-processing - Watch new inventory file 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' with signature available: process. [2019-02-13 08:57:01] DEBUG inventory-processing - Start parsing inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' [2019-02-13 08:57:01] DEBUG inventory-processing - Inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' parsed in 0 milliseconds ms, now saving [2019-02-13 08:57:01] DEBUG inventory-processing - Inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' parsed in 0 milliseconds ms, now saving [2019-02-13 08:57:01] DEBUG inventory-processing - Inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' for node 'ad29bd41-9e07-47c4-a237-fc9b60ea37ae' pre-processed in 41 milliseconds ms [2019-02-13 08:57:01] DEBUG inventory-processing - Inventory 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' for node 'ad29bd41-9e07-47c4-a237-fc9b60ea37ae' pre-processed in 79 milliseconds ms [2019-02-13 08:57:01] DEBUG inventory-processing - Report saved. [2019-02-13 08:57:01] INFO inventory-processing - Report 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' for node 'agent1' [ad29bd41-9e07-47c4-a237-fc9b60ea37ae] (signature:certified) processed in 67 milliseconds ms [2019-02-13 08:57:01] DEBUG inventory-processing - Report saved. [2019-02-13 08:57:01] INFO inventory-processing - Report 'AGENT1-ad29bd41-9e07-47c4-a237-fc9b60ea37ae.ocs' for node 'agent1' [ad29bd41-9e07-47c4-a237-fc9b60ea37ae] (signature:certified) processed in 61 milliseconds ms [2019-02-13 08:57:02] INFO scheduledJob - Update in node inventories main information detected: triggering a policy generation [2019-02-13 08:57:02] INFO com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Start policy generation, checking updated rules [2019-02-13 08:57:02] INFO com.normation.rudder.domain.nodes.NodeInfo - Node 'agent1' (ad29bd41-9e07-47c4-a237-fc9b60ea37ae) is a Dsc node and a we do not know how to generate a hash yet
everything does look good though
after a while, i cnanot reproduce it. It happened with a DSC agent - but then it was correctly processed
Updated by François ARMAND almost 6 years ago
- Target version changed from 5.0.7 to 5.0.9
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to Rejected
I have only one
[2019-05-06 10:35:52] DEBUG inventory-processing - watcher ignored file .davfs.tmp14d0a9 (unrecognized extension: 'tmp14d0a9') [2019-05-06 10:35:52] DEBUG inventory-processing - watcher ignored file .davfs.tmp14d0a9 (unrecognized extension: 'tmp14d0a9') [2019-05-06 10:35:52] DEBUG inventory-processing - watcher ignored file .davfs.tmp14d3f9 (unrecognized extension: 'tmp14d3f9') [2019-05-06 10:35:52] DEBUG inventory-processing - watcher ignored file .davfs.tmp14d3f9 (unrecognized extension: 'tmp14d3f9') [2019-05-06 10:35:53] DEBUG inventory-processing - Watch incoming signature file '/var/rudder/inventories/incoming/agent2-44cac6a8-c4a9-4177-b63a-1a439f4b03f9.ocs.sign' but no corresponding inventory available: waiting [2019-05-06 10:35:53] INFO inventory-processing - Watch new inventory file 'agent2-44cac6a8-c4a9-4177-b63a-1a439f4b03f9.ocs' with signature available: process. [2019-05-06 10:35:53] DEBUG inventory-processing - Start parsing inventory 'agent2-44cac6a8-c4a9-4177-b63a-1a439f4b03f9.ocs' [2019-05-06 10:35:54] DEBUG inventory-processing - Inventory 'agent2-44cac6a8-c4a9-4177-b63a-1a439f4b03f9.ocs' parsed in 0 milliseconds ms, now saving
Actions