Actions
Bug #3854
closedThe first inventory made display disturbing error messages about CPU
Pull Request:
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.
Actions