Project

General

Profile

Actions

Bug #12040

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 (at least on centos7)

Added by Nicolas CHARLES almost 7 years ago. Updated almost 7 years ago.

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

Description

Parent ticket fix was incomplete:

perl -I /opt/rudder/lib/perl5 /opt/rudder/bin/fusioninventory-agent --config=none --no-task=Deploy --local=/var/rudder/tmp/inventory
[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.
root@agent1:/home/vagrant# perl -I /opt/rudder/lib/perl5 /opt/rudder/bin/fusioninventory-agent --config=none --no-task=Deploy --local=/var/rudder/tmp/inventory --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:26:47 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

Actions

Also available in: Atom PDF