Project

General

Profile

Actions

Bug #4166

closed

On Rudder 2.4, the initial promises return errors about not defined 'rudder_common_classes' function

Added by Nicolas PERRON over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

During an installation of rudder-agent 2.4, the use of CFEngine before an update of the promises will return this:

/var/rudder/cfengine-community/inputs/common/1.0/rudder_stdlib.cf:# class_prefix (as defined by the body classes rudder_common_classes)
[root@node3 ~]# /var/rudder/cfengine-community/bin/cf-agent -KI
[...]
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Binaries update@@None@@2013-11-18 15:15:50+01:00##b2d7cc29-65fb-41b7-8ec1-20c343a69a9e@#The CFengine binaries in /var/rudder/cfengine-community/bin are up to date
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 29
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 35
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 29
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 35
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 29
No such FnCall "rudder_common_classes()" in promise @ /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf near line 35
 -> Executing '/usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" http://192.168.42.10/uuid' ...(timeout=-678,owner=-1,group=-1)
 -> Completed execution of /usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" http://192.168.42.10/uuid
R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2013-11-18 15:15:50+01:00##b2d7cc29-65fb-41b7-8ec1-20c343a69a9e@#An inventory was already sent less than 8 hours ago
R: @@Inventory@@result_success@@inventory-all@@inventory-all@@00@@inventory@@None@@2013-11-18 15:15:50+01:00##b2d7cc29-65fb-41b7-8ec1-20c343a69a9e@#Next inventory scheduled between 00:00 and 06:00
R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2013-11-18 15:15:50+01:00##b2d7cc29-65fb-41b7-8ec1-20c343a69a9e@#End execution
R: *********************************************************************************
* rudder-agent could not get an updated configuration from the policy server.   *
* This can be caused by a network issue, an unavailable server, or if this      *
* node has not yet been accepted in the Rudder root server.                     *
*********************************************************************************

It only concerns the initial promises.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4021: Reporting message that state that curl is missing should be clearerReleasedNicolas CHARLES2013-10-08Actions
Actions

Also available in: Atom PDF