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 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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 #1

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 4.3.0~beta1 to 4.3.0~rc1
Actions #2

Updated by Benoît PECCATTE about 3 years ago

  • Status changed from New to Rejected

Fixed

Actions

Also available in: Atom PDF