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 about 11 years ago. Updated almost 10 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 #1

Updated by Nicolas PERRON about 11 years ago

It seems that this is due to an error in the inputs list of initial promises.

Actions #2

Updated by Nicolas PERRON about 11 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas PERRON to Nicolas CHARLES
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/242

Pull Request URL added: https://github.com/Normation/rudder-techniques/pull/242

Nicolas, could you review it please (easy) ?

Actions #3

Updated by Nicolas PERRON about 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:45f209414804dcc750485eaa8f022981c3b67b4f.

Actions #4

Updated by Nicolas CHARLES about 11 years ago

Applied in changeset commit:51bd0ff3ae2732ce229fa61afab7a26704295bdd.

Actions #5

Updated by Nicolas PERRON about 11 years ago

Introduced by #4021

Actions #6

Updated by Nicolas PERRON about 11 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.4.12 which was released today.
Check out:

Actions #7

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions

Also available in: Atom PDF