Project

General

Profile

Actions

Bug #3854

closed

The first inventory made display disturbing error messages about CPU

Added by Nicolas PERRON over 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

The first inventory made can't retrieve informations about CPU since the tools to get them is not already downloaded from Rudder server. Nevertheless, the system Techniques will try to use them and will display errors:

[root@centos-5-64 ~]# /var/rudder/cfengine-community/bin/cf-agent
[...]
I: Comment: Generating file with CPUID information

R: @@Inventory@@result_error@@inventory-all@@inventory-all@@00@@inventory@@None@@2013-08-20 10:48:16+02:00##6e3e89a8-14ae-4da8-9ad0-ed76b4819def@#Could not generate the cpuid
Proposed executable file "/var/rudder/tools/cpuid-linux-V1.0.sh" doesn't exist
/var/rudder/tools/cpuid-linux-V1.0.sh promises to be executable but isn't
I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf' near line 247
I: Comment: Generating file with CPUID information

Proposed executable file "/var/rudder/tools/cpuid-linux-V1.0.sh" doesn't exist
/var/rudder/tools/cpuid-linux-V1.0.sh promises to be executable but isn't
I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf' near line 247
I: Comment: Generating file with CPUID information

Could not read file /var/rudder/tmp/cpuid.arc
 !!! System reports error for fopen: "No such file or directory" 
I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf' near line 438
I: Comment: Adding the CPUID data in the inventory file
[...]
R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2013-08-20 10:48:16+02:00##6e3e89a8-14ae-4da8-9ad0-ed76b4819def@#End execution

This should not happen and is disturbing.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4111: Inventory is never made due to the use of a wrong function ("isfile") in the promisesReleasedJonathan CLARKE2013-10-28Actions
Actions

Also available in: Atom PDF