Project

General

Profile

Actions

Question #14256

closed

error on agent run

Added by Stefan Schmitt almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
-
Regression:

Description

since Rudder agent 5.0.4 we've got warnings and errors on agent runs:

running# rudder agent run -g

Output:

Rudder agent 5.0.4-stretch0 (or 5.0.5-stretch0)
Node uuid: xxxxx-xxxx-xxxx-xxxx-xxxxxxxx
warning: ifelapsed attribute specified in action body for classes promise 'should_disable_agent', but classes promises do not support promise locking
warning: ifelapsed attribute specified in action body for classes promise 'should_disable_agent', but classes promises do not support promise locking
warning: ifelapsed attribute specified in action body for classes promise 'should_disable_agent', but classes promises do not support promise locking
Start execution with config [20190122-172026-xxxxxx]
....
E| compliant     Inventory                 inventory                                    Next inventory scheduled between 00:00 and 06:00
E| compliant     checkGenericFileContent   File                      /var/rudder/cfeng| The file /var/rudder/cfengine-community/policy_server.dat was already in accordance with the policy
E| compliant     checkGenericFileContent   Line deletion regular ex| /var/rudder/cfeng| The file /var/rudder/cfengine-community/policy_server.dat was not set for any line deletion
   error: List or container parameter 'args' not found while constructing scope '_log_v3' - use @(scope.variable) in calling reference
   error: The value of variable 'default:_log_v3.args' contains a reference to itself, '@{args}'
   error: List or container parameter 'args' not found while constructing scope 'log_rudder' - use \@(scope.variable) in calling reference
   error: The value of variable 'default:log_rudder.args' contains a reference to itself, '@{args}'
E| compliant     checkGenericFileContent   Line replacement regular| /var/rudder/cfeng| The file /var/rudder/cfengine-community/policy_server.dat was not set for any line replacement
E| compliant     checkGenericFileContent   Permission adjustment     /var/rudder/cfeng| The file /var/rudder/cfengine-community/policy_server.dat uses default permissions
E| compliant     checkGenericFileContent   Enforce content by secti| /var/rudder/cfeng| The file /var/rudder/cfengine-community/policy_server.dat was not set for section edition, skipping
E| n/a           checkGenericFileContent   Post-modification hook    /var/rudder/cfeng| No command for /var/rudder/cfengine-community/policy_server.dat was to be executed
....

any ideas?


Related issues 2 (0 open2 closed)

Is duplicate of Rudder - Bug #14132: "classes promises do not support promise locking" warning message when running the agentReleasedNicolas CHARLESActions
Is duplicate of Rudder - Bug #14214: Error in inform mode about undefined @args in rudder agent outputReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF