Project

General

Profile

Actions

Bug #4995

closed

Server with no nodes can't update its promises

Added by Vincent MEMBRÉ over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
1 (highest)
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I have installed a fresh server with no nodes and directly updated my policies

The promise generation should have been very short (instant) but it does not seems to end.

I restart the webapp, and still the same behavior.

In debug logs I found that a system variable (CLIENTSFOLDER) does not exists since there is no nodes attached to my server and is the last log line I have.

Here is the output:

[2014-06-11 10:31:57] INFO  com.normation.rudder.services.policies.DeploymentServiceImpl - Start policy generation, checking updated rules
[2014-06-11 10:31:57] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - All relevant information fetched in 400ms, start names historization.
[2014-06-11 10:31:57] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - Historization of names done in 397ms, start to build rule values.
[2014-06-11 10:31:57] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - RuleVals built in 25ms, start to expand their values.
[2014-06-11 10:31:57] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - RuleVals expanded in 29ms, start to build global system variables.
[2014-06-11 10:31:57] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - Global system variables built in 29ms, start to build new node configurations.
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - Node's target configuration built in 329, start to update rule values.
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - RuleVals updated in 62 millisec, start to detect changes in node configuration.
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.DeploymentServiceImpl - Checked node configuration updates leading to rules serial number updates and serial number updated in 51ms
[2014-06-11 10:31:58] INFO  com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [root]
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - 37 promises templates read in 478ms
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Writting promises for node 'server.rudder.local' (root)
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Preparing the PI variables for container /var/rudder/cfengine-community/inputs.new
[2014-06-11 10:31:58] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Variable system named CLIENTSFOLDERS not found in the extended variables environnement 
Actions

Also available in: Atom PDF