Project

General

Profile

Actions

Question #14256

closed

error on agent run

Added by Stefan Schmitt about 5 years ago. Updated about 5 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 #1

Updated by Alexis Mousset about 5 years ago

  • Is duplicate of Bug #14132: "classes promises do not support promise locking" warning message when running the agent added
Actions #2

Updated by Alexis Mousset about 5 years ago

  • Is duplicate of Bug #14214: Error in inform mode about undefined @args in rudder agent output added
Actions #3

Updated by Alexis Mousset about 5 years ago

  • Status changed from New to Resolved

These bugs have been fixed in Rudder 5.0.5 released today. They are just harmless warnings though, you can safely ignore them until upgrade.

Actions #4

Updated by Alexis Mousset about 5 years ago

  • Description updated (diff)
Actions #5

Updated by Stefan Schmitt about 5 years ago

Alexis MOUSSET wrote:

These bugs have been fixed in Rudder 5.0.5 released today. They are just harmless warnings though, you can safely ignore them until upgrade.

updated rudder server to 5.0.5-stretch0
-> problems solved! thx!

Actions

Also available in: Atom PDF