HA Simulator failed

lavr

New Member
Feb 12, 2016
3
0
1
62
Hi,

pve-ha-simulator 1.0-23 - absent VirtFail.pm perl module.

Code:
root@node2:~# dpkg -l | grep " pve-" | awk '{ print $2 "\t" $3 }'
pve-cluster     4.0-33
pve-container   1.0-46
pve-firewall    2.0-18
pve-firmware    1.1-7
pve-ha-manager  1.0-23
pve-ha-simulator        1.0-23
pve-kernel-4.2.6-1-pve  4.2.6-36
pve-kernel-4.2.8-1-pve  4.2.8-39
pve-libspice-server1    0.12.5-2
pve-manager     4.1-15
pve-qemu-kvm    2.5-8
root@node2:~#

install pve-ha-simulator , create work directory and run:

Code:
root@node2:~# pve-ha-simulator working/
Can't locate PVE/HA/Sim/Resources/VirtFail.pm in @INC (you may need to install the PVE::HA::Sim::Resources::VirtFail module) (@INC contains: /usr/share/pve-ha-simulator /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/pve-ha-simulator/PVE/HA/Sim/Env.pm line 16.
BEGIN failed--compilation aborted at /usr/share/pve-ha-simulator/PVE/HA/Sim/Env.pm line 16.
Compilation failed in require at /usr/share/perl/5.20/base.pm line 97.
        ...propagated at /usr/share/perl/5.20/base.pm line 106.
BEGIN failed--compilation aborted at /usr/share/pve-ha-simulator/PVE/HA/Sim/TestEnv.pm line 13.
Compilation failed in require at /usr/share/pve-ha-simulator/PVE/HA/Sim/TestHardware.pm line 22.
BEGIN failed--compilation aborted at /usr/share/pve-ha-simulator/PVE/HA/Sim/TestHardware.pm line 22.
Compilation failed in require at /usr/sbin/pve-ha-simulator line 10.
BEGIN failed--compilation aborted at /usr/sbin/pve-ha-simulator line 10.
root@node2:~#

pve-ha-simulator hasn't VirtFail module:

Code:
root@node2:~# ls -la /usr/share/pve-ha-simulator/PVE/HA/Sim/Resources/
total 16
drwxr-xr-x 2 root root 4096 Mar  6 13:25 .
drwxr-xr-x 3 root root 4096 Mar  6 13:25 ..
-rw-r--r-- 1 root root  716 Feb 24 14:17 VirtCT.pm
-rw-r--r-- 1 root root  277 Feb 24 14:17 VirtVM.pm
root@node2:~#

please correct and upgrade pve-ha-simulator

Thanks for your job