Project

General

Profile

Actions

Bug #6838

closed

Node list cache is not always correctly updated when accepting nodes

Added by Alexis Mousset over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

After accepting two new nodes, only one appeared in the node list (but both of them were visible in the history of accepted nodes).

Complete logs, the two nodes where agent1 and agent2, and agent2 was missing in the list:

[2015-06-26 11:45:16] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'server-root.ocs'
[2015-06-26 11:45:17] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'server-root.ocs' parsed in 700 milliseconds, now checking signature
[2015-06-26 11:45:17] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'server-root.ocs' signature checked in 207 milliseconds, now saving
[2015-06-26 11:45:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report file processed in 1 second and 744 milliseconds
[2015-06-26 12:00:44] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'agent3-df381d25-385d-48b2-9434-43c967568dcd.ocs'
[2015-06-26 12:00:44] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent3-df381d25-385d-48b2-9434-43c967568dcd.ocs' parsed in 134 milliseconds, now checking signature
[2015-06-26 12:00:44] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent3-df381d25-385d-48b2-9434-43c967568dcd.ocs' signature checked in 17 milliseconds, now saving
[2015-06-26 12:00:44] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report file processed in 626 milliseconds
[2015-06-26 12:02:59] INFO  com.normation.rudder.batch.UpdateDynamicGroups$LAUpdateDyngroupManager - Dynamic group hasPolicyServer-root: added node with id: [ df381d25-385d-48b2-9434-43c967568dcd ], removed: nothing
[2015-06-26 12:02:59] INFO  com.normation.rudder.services.policies.DeploymentServiceImpl - Start policy generation, checking updated rules
[2015-06-26 12:03:01] INFO  com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [df381d25-385d-48b2-9434-43c967568dcd, root]
[2015-06-26 12:03:04] INFO  com.normation.rudder.batch.AsyncDeploymentAgent - Successful policy update '2' [started 2015-06-26 12:02:59 - ended 2015-06-26 12:03:04]
[2015-06-26 12:03:18] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'agent2-b389e940-ab1e-45fd-9023-cf191e5c4aae.ocs'
[2015-06-26 12:03:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent2-b389e940-ab1e-45fd-9023-cf191e5c4aae.ocs' parsed in 171 milliseconds, now checking signature
[2015-06-26 12:03:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent2-b389e940-ab1e-45fd-9023-cf191e5c4aae.ocs' signature checked in 10 milliseconds, now saving
[2015-06-26 12:03:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'agent1-64f8c0a2-6cae-4876-9c3a-45c19b83afea.ocs'
[2015-06-26 12:03:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent1-64f8c0a2-6cae-4876-9c3a-45c19b83afea.ocs' parsed in 138 milliseconds, now checking signature
[2015-06-26 12:03:19] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'agent1-64f8c0a2-6cae-4876-9c3a-45c19b83afea.ocs' signature checked in 10 milliseconds, now saving
[2015-06-26 12:03:20] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report file processed in 983 milliseconds
[2015-06-26 12:03:20] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report file processed in 349 milliseconds
[2015-06-26 12:03:46] INFO  com.normation.rudder.batch.UpdateDynamicGroups$LAUpdateDyngroupManager - Dynamic group hasPolicyServer-root: added node with id: [ 64f8c0a2-6cae-4876-9c3a-45c19b83afea ], removed: nothing
[2015-06-26 12:03:46] INFO  com.normation.rudder.services.policies.DeploymentServiceImpl - Start policy generation, checking updated rules
[2015-06-26 12:03:46] INFO  com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [64f8c0a2-6cae-4876-9c3a-45c19b83afea, df381d25-385d-48b2-9434-43c967568dcd, root]
[2015-06-26 12:03:49] INFO  com.normation.rudder.batch.AsyncDeploymentAgent - Successful policy update '3' [started 2015-06-26 12:03:46 - ended 2015-06-26 12:03:49]

The node appeared after restarting jetty.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #7024: Accepting two nodes seems to only accept oneReleasedNicolas CHARLES2015-12-04Actions
Actions

Also available in: Atom PDF