Project

General

Profile

Actions

Bug #12039

closed

User story #11741: Use system Perl instead of embedding into rudder-agent if possible

Bug #12033: Script /opt/rudder/bin/run-inventory cannot run FusionInventory on Rudder 4.3

Inventory fails to run

Added by Nicolas CHARLES about 6 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

OUtput is

root@agent1:/home/vagrant#   perl -I /opt/rudder/lib/perl5 /opt/rudder/bin/fusioninventory-agent --config=none --no-task=Deploy --local=/tmp/foo.ocs --debug
[debug] FusionInventory Agent (2.3.19)
[debug] Configuration directory: /opt/rudder/etc/fusioninventory
[debug] Data directory: /opt/rudder/share/fusioninventory
[debug] Storage directory: /opt/rudder/var/fusioninventory
[debug] Lib directory: /opt/rudder/share/fusioninventory/lib
[debug] [target local0] Next server contact planned for Wed Jan 24 12:00:45 2018
[debug] Available tasks:
[debug] - ESX: 2.2.2
[debug] - Inventory: 1.1
[debug] - Collect: 2.4.0
[debug] - WakeOnLan: 2.1
[debug] - NetDiscovery: 2.2.2
[debug] - NetInventory: 2.2.2
[debug] Planned tasks:
[debug] - ESX: 2.2.2
[debug] - Inventory: 1.1
[debug] - Collect: 2.4.0
[debug] - WakeOnLan: 2.1
[debug] - NetDiscovery: 2.2.2
[debug] - NetInventory: 2.2.2
[debug] _runTarget
[error] Can't locate object method "isEnabled" via package "FusionInventory::Agent::Task::ESX" at /opt/rudder/share/fusioninventory/lib/FusionInventory/Agent.pm line 473.
[error] Can't locate object method "isEnabled" via package "FusionInventory::Agent::Task::Inventory" at /opt/rudder/share/fusioninventory/lib/FusionInventory/Agent.pm line 473.
[error] Can't locate object method "isEnabled" via package "FusionInventory::Agent::Task::Collect" at /opt/rudder/share/fusioninventory/lib/FusionInventory/Agent.pm line 473.
[debug] WakeOnLan task not compatible with local target
[debug] NetDiscovery task not compatible with local target
[debug] NetInventory task not compatible with local target

Installing perl-XML-TreePP and perl-libwww-perl workarounds the issue

Actions

Also available in: Atom PDF