Project

General

Profile

Actions

Bug #3138

closed

inventory from Centos 5.7 node on Xen domu missing UUID

Added by Fabrice FLORE-THÉBAULT over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I had errors with the Inventory with a Centos 5.7 Xen domu.

On the server the error looks like this when running /var/rudder/cfengine-community/bin/cf-agent -KI:

 !! Finished command related to promiser "/var/rudder/inventories/incoming" -- an error occurred (returned 22)
-> Transformer /var/rudder/inventories/incoming/server.fqdn-2013-01-02-17-56-45.ocs => /var/rudder/tools/send-clean.sh http://localhost:8080/endpoint/upload/ /var/rudder/inventories/incoming/server.fqdn-2013-01-02-17-56-45.ocs /var/rudder/inventories/received/ returned error
R: @@DistributePolicy@@result_error@@root-DP@@root-distributePolicy@@11@@Send inventories to CMDB@@None@@2013-01-03 17:07:38+01:00##root@#Some inventories failed to add successfully to Rudder

in /var/log/rudder/webapp/(last date).stderrout.log

[2013-01-03 01:15:55] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input report: 'server.fqdn-2013-01-02-17-56-45.ocs'
[2013-01-03 01:15:55] ERROR com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Error when trying to parse report: 
Can't parse the input report, aborting
cause: Error when post processing report with 'post_process_inventory:check_consistency', abort
cause: Missing node ID attribute 'UUID' in report. This attribute is mandatory and must contains node ID.
cause: Missing XML element: 'UUID'.

on the node we have following error when forcing the inventory with cf-agent -KDforce_inventory -b doInventory -I:

 Proposed executable file "/usr/sbin/xenstore-read" doesn't exist

on the node effectively the path for xenstore-read is wrong:

which xenstore-read
/usr/sbin/xenstore-read

issue fixed with these changes in /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf and /opt/rudder/share/initial-promises/inventory/1.0/fusionAgent.cf, line 302 :

"VMRUDDERUUID" string => execresult("/usr/bin/xenstore-read vm","noshell");

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4227: A Xen Hypervisor on SLES does not make a valid inventory and can't be accepted into Rudder since binary path to xenstore is wrong on SLES 11 and does not exist on SLES 10ReleasedNicolas CHARLES2013-12-06Actions
Has duplicate Rudder - Bug #3135: The path to the xenstore is invalid in the promises for CentOS5Rejected2013-01-03Actions
Actions #1

Updated by Nicolas CHARLES over 11 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
  • Priority changed from N/A to 2
  • Target version set to 2.4.3
Actions #2

Updated by Nicolas CHARLES over 11 years ago

  • Status changed from In progress to Pending technical review
Actions #3

Updated by François ARMAND over 11 years ago

  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
Actions #4

Updated by Nicolas CHARLES about 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:ba39e0499913579e683ba0f44ffd173e002e7dcc.

Actions #5

Updated by Jonathan CLARKE about 11 years ago

Applied in changeset commit:973557b635e73f1147fdd742c14134c170c01e43.

Actions #6

Updated by Nicolas PERRON about 11 years ago

Applied in changeset commit:63721341c37136d714ecc163bd49cf725d40584f.

Actions #7

Updated by Nicolas PERRON about 11 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Benoît PECCATTE about 9 years ago

  • Category changed from 26 to Web - Nodes & inventories
Actions

Also available in: Atom PDF