Project

General

Profile

Actions

Bug #20994

closed

Some inventories are stuck in the incoming folder

Added by Félix DALLIDET over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
First impressions of Rudder
Effort required:
Priority:
80
Name check:
To do
Fix check:
To do
Regression:

Description

In 7.1 I had a node under a relay, but ended up stuck in the incoming folder on the root server. The webapp took several minutes to try to parse the inventory.


Related issues 3 (1 open2 closed)

Related to Rudder - Architecture #19920: root inventory is missing and need to be resent after installReleasedNicolas CHARLESActions
Related to Rudder - Bug #22246: Webapp stopped to watch for inventoriesNewActions
Is duplicate of Rudder - Bug #19585: Sometime inventory processing is not done when inventory is receveivedReleasedNicolas CHARLESActions
Actions #1

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.1.0 to 7.1.1
Actions #2

Updated by François ARMAND over 2 years ago

  • Related to Architecture #19920: root inventory is missing and need to be resent after install added
Actions #3

Updated by François ARMAND over 2 years ago

So, clearly, this is something like #19920. When I reproduced it, my inventory was processed, and rudder was shut down before being saved:

[2022-05-11 10:36:38+0200] INFO  inventory-processing - Watch new inventory file 'server-root.ocs' with signature available: process.
[2022-05-11 10:36:40+0200] INFO  policy.generation - No node configuration was updated, no policies to write
[2022-05-11 10:36:40+0200] DEBUG explain_compliance - Updated node configuration ids:
2022-05-11 10:36:43.577:INFO:oejs.AbstractConnector:JettyShutdownThread: Stopped ServerConnector@36d697ab{HTTP/1.1, (http/1.1)}{127.0.0.1:8080}
2022-05-11 10:36:43.577:INFO:oejs.session:JettyShutdownThread: node0 Stopped scavenging
2022-05-11 10:36:43.598:INFO:oejshC.rudder:JettyShutdownThread: Closing Spring root WebApplicationContext
2022-05-11 10:36:43.683:INFO:oejsh.ContextHandler:JettyShutdownThread: Stopped o.e.j.w.WebAppContext@7a765367{/rudder,null,STOPPED}{/opt/rudder/share/webapps/rudder.war}
--- EOF ---

It was not processed in next reboot, so it is likely similar than #19920: moved before being saved.

But then, just trying to do an other rudder agent inventory did not trigger its parsing, and inventory was just sitting in directory /var/rudder/inventories/accepted-nodes-updates.

Touching the inventory file did trigger its processing.
And now, new rudder agent inventory does lead to a instant processing of inventory.
And stopping rudder, putting inventory in directory, starting rudder does lead to a correct processing.

Not sure what is going on.

Actions #4

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.1.1 to 7.1.2
Actions #5

Updated by François ARMAND over 2 years ago

  • Is duplicate of Bug #19585: Sometime inventory processing is not done when inventory is receveived added
Actions #6

Updated by François ARMAND over 2 years ago

  • Status changed from New to Resolved

Closing this one since it is very likely a duplicate of #19585

Actions #7

Updated by Félix DALLIDET almost 2 years ago

  • Related to Bug #22246: Webapp stopped to watch for inventories added
Actions

Also available in: Atom PDF