Project

General

Profile

Actions

Bug #4111

closed

Inventory is never made due to the use of a wrong function ("isfile") in the promises

Added by Vincent MEMBRÉ about 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When installing / upgrading rudder agent to 2.8.0~rc1 we get an error

2013-10-28T17:46:35+0100   notice: Server is starting...
rudder-agent[12210]: [OK] CFEngine Community cf-serverd started after 1 seconds
rudder-agent[12211]: [INFO] Launching CFEngine Community cf-execd...
/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:100:122: error: Unknown function
      "rudder_inventory_cpuid_tool_present"    expression => isfile("\"${g.rudder_dependencies}\cpuid-windows-V1.0.vbs\"");
                                                                                                                         ^
/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:102:112: error: Unknown function
      "rudder_inventory_userlist_tool_present" expression => isfile("\"${g.rudder_dependencies}\userlist.bat\"");
                                                                                                               ^
/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:106:115: error: Unknown function
      "rudder_inventory_cpuid_tool_present"    expression => isfile("${g.rudder_dependencies}/cpuid-linux-V1.0.sh");
                                                                                                                  ^
2013-10-28T17:46:37+0100    error: Syntax errors were found in policy files included from the main policy
2013-10-28T17:46:37+0100    error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
2013-10-28T17:46:37+0100    error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3854: The first inventory made display disturbing error messages about CPUReleasedJonathan CLARKE2013-08-20Actions
Actions

Also available in: Atom PDF