[PVE-User] pve-firewall 2.0-31 broken on upgrade?
Chris Murray
chrismurray84 at gmail.com
Tue Oct 18 12:24:15 CEST 2016
On 18/10/2016 10:12, Dietmar Maurer wrote:
>> After this operation, 0 B of additional disk space will be used.
>> Do you want to continue? [Y/n] y
>> Setting up pve-firewall (2.0-31) ...
>> Job for pve-firewall.service failed. See 'systemctl status
>> pve-firewall.service' and 'journalctl -xn' for details.
> what is the output of
>
> systemctl status pve-firewall.service
>
Oct 18 09:23:30 ceph47 systemd[1]: Reloading Proxmox VE firewall.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: Can't locate PVE/LXC.pm in
@INC (you may need to install the PVE::LXC module) (@INC contains:
/etc/perl /usr/local...
Oct 18 09:23:32 ceph47 pve-firewall[9046]: BEGIN failed--compilation
aborted at /usr/share/perl5/PVE/FirewallSimulator.pm line 9, <DATA> line
751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: Compilation failed in require
at /usr/share/perl5/PVE/Service/pve_firewall.pm line 16, <DATA> line 751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: BEGIN failed--compilation
aborted at /usr/share/perl5/PVE/Service/pve_firewall.pm line 16, <DATA>
line 751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: Compilation failed in require
at /usr/sbin/pve-firewall line 6, <DATA> line 751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: BEGIN failed--compilation
aborted at /usr/sbin/pve-firewall line 6, <DATA> line 751.
Oct 18 09:23:32 ceph47 systemd[1]: pve-firewall.service: control process
exited, code=exited status=2
Oct 18 09:23:32 ceph47 systemd[1]: Reload failed for Proxmox VE firewall.
Which is how I discovered the LXC.pm was missing. A bad node has these:
# ls -l /usr/share/perl5/PVE/
total 318
-rw-r--r-- 1 root root 16510 Oct 7 08:03 AbstractConfig.pm
-rw-r--r-- 1 root root 6090 Oct 7 08:03 AbstractMigrate.pm
-rw-r--r-- 1 root root 33798 Aug 5 12:10 AccessControl.pm
drwxr-xr-x 4 root root 11 Oct 15 09:37 API2
-rw-r--r-- 1 root root 297 Oct 7 08:03 AtomicFile.pm
drwxr-xr-x 2 root root 7 Sep 2 15:39 Auth
drwxr-xr-x 2 root root 5 Oct 15 09:37 CLI
-rw-r--r-- 1 root root 12373 Oct 7 08:03 CLIHandler.pm
-rw-r--r-- 1 root root 35999 Sep 20 08:37 Cluster.pm
-rw-r--r-- 1 root root 18436 Oct 7 08:03 Daemon.pm
-rw-r--r-- 1 root root 11852 Oct 7 08:32 Diskmanage.pm
-rw-r--r-- 1 root root 2668 Oct 7 08:03 Exception.pm
-rw-r--r-- 1 root root 115454 Oct 6 07:35 Firewall.pm
-rw-r--r-- 1 root root 15886 Oct 6 07:35 FirewallSimulator.pm
-rw-r--r-- 1 root root 34433 Oct 7 08:03 INotify.pm
-rw-r--r-- 1 root root 1222 Sep 20 08:37 IPCC.pm
-rw-r--r-- 1 root root 46605 Oct 7 08:03 JSONSchema.pm
-rw-r--r-- 1 root root 15822 Oct 7 08:03 Network.pm
-rw-r--r-- 1 root root 10127 Oct 7 08:03 ProcFSTools.pm
-rw-r--r-- 1 root root 5816 Mar 9 2015 RADOS.pm
-rw-r--r-- 1 root root 18530 Oct 7 08:03 RESTHandler.pm
-rw-r--r-- 1 root root 24618 Aug 5 12:10 RPCEnvironment.pm
-rw-r--r-- 1 root root 799 Oct 7 08:03 SafeSyslog.pm
-rw-r--r-- 1 root root 10842 Oct 7 08:03 SectionConfig.pm
drwxr-xr-x 2 root root 3 Oct 15 09:48 Service
drwxr-xr-x 3 root root 16 Oct 15 09:37 Storage
-rw-r--r-- 1 root root 38502 Oct 7 08:32 Storage.pm
-rw-r--r-- 1 root root 36475 Oct 7 08:03 Tools.pm
But a good node has more:
# ls -l /usr/share/perl5/PVE/
total 582
-rw-r--r-- 1 root root 16510 Oct 7 08:03 AbstractConfig.pm
-rw-r--r-- 1 root root 6090 Oct 7 08:03 AbstractMigrate.pm
-rw-r--r-- 1 root root 33798 Aug 5 12:10 AccessControl.pm
drwxr-xr-x 7 root root 28 Oct 13 11:35 API2
-rw-r--r-- 1 root root 4628 Oct 7 10:47 API2Client.pm
-rw-r--r-- 1 root root 2286 Oct 7 10:47 API2.pm
-rw-r--r-- 1 root root 6036 Oct 7 10:47 API2Tools.pm
-rw-r--r-- 1 root root 6036 Oct 7 10:47 APLInfo.pm
-rw-r--r-- 1 root root 297 Oct 7 08:03 AtomicFile.pm
drwxr-xr-x 2 root root 7 Sep 2 16:52 Auth
-rw-r--r-- 1 root root 4096 Oct 7 10:47 AutoBalloon.pm
-rw-r--r-- 1 root root 4670 Oct 7 10:47 CephTools.pm
drwxr-xr-x 2 root root 13 Oct 13 11:35 CLI
-rw-r--r-- 1 root root 12373 Oct 7 08:03 CLIHandler.pm
-rw-r--r-- 1 root root 35999 Sep 20 08:37 Cluster.pm
-rw-r--r-- 1 root root 18436 Oct 7 08:03 Daemon.pm
-rw-r--r-- 1 root root 11852 Oct 7 08:32 Diskmanage.pm
-rw-r--r-- 1 root root 2668 Oct 7 08:03 Exception.pm
-rw-r--r-- 1 root root 2564 Oct 7 10:47 ExtJSIndex.pm
-rw-r--r-- 1 root root 115454 Oct 6 07:35 Firewall.pm
-rw-r--r-- 1 root root 15886 Oct 6 07:35 FirewallSimulator.pm
drwxr-xr-x 4 root root 15 Oct 13 11:34 HA
-rw-r--r-- 1 root root 44764 Oct 7 10:47 HTTPServer.pm
-rw-r--r-- 1 root root 34433 Oct 7 08:03 INotify.pm
-rw-r--r-- 1 root root 1222 Sep 20 08:37 IPCC.pm
-rw-r--r-- 1 root root 46605 Oct 7 08:03 JSONSchema.pm
drwxr-xr-x 3 root root 7 Oct 13 11:34 LXC
-rw-r--r-- 1 root root 42288 Oct 7 08:36 LXC.pm
-rw-r--r-- 1 root root 15822 Oct 7 08:03 Network.pm
-rw-r--r-- 1 root root 7215 Oct 7 10:47 NoVncIndex.pm
-rw-r--r-- 1 root root 10127 Oct 7 08:03 ProcFSTools.pm
-rw-r--r-- 1 root root 422 Oct 7 10:47 pvecfg.pm
-rw-r--r-- 1 root root 7987 Oct 7 07:23 QemuConfig.pm
-rw-r--r-- 1 root root 24070 Oct 7 07:23 QemuMigrate.pm
drwxr-xr-x 2 root root 5 Oct 13 11:34 QemuServer
-rw-r--r-- 1 root root 167004 Oct 7 07:23 QemuServer.pm
-rw-r--r-- 1 root root 11547 Oct 7 07:23 QMPClient.pm
-rw-r--r-- 1 root root 5816 Mar 9 2015 RADOS.pm
-rw-r--r-- 1 root root 2960 Oct 7 10:47 Report.pm
-rw-r--r-- 1 root root 18530 Oct 7 08:03 RESTHandler.pm
-rw-r--r-- 1 root root 4897 Oct 7 10:47 REST.pm
-rw-r--r-- 1 root root 24618 Aug 5 12:10 RPCEnvironment.pm
-rw-r--r-- 1 root root 799 Oct 7 08:03 SafeSyslog.pm
-rw-r--r-- 1 root root 10842 Oct 7 08:03 SectionConfig.pm
drwxr-xr-x 2 root root 9 Oct 13 11:35 Service
drwxr-xr-x 2 root root 5 Oct 13 11:35 Status
drwxr-xr-x 3 root root 16 Oct 13 11:34 Storage
-rw-r--r-- 1 root root 38502 Oct 7 08:32 Storage.pm
-rw-r--r-- 1 root root 36475 Oct 7 08:03 Tools.pm
-rw-r--r-- 1 root root 1400 Oct 7 10:47 TouchIndex.pm
drwxr-xr-x 2 root root 6 Oct 13 11:35 VZDump
-rw-r--r-- 1 root root 32090 Oct 7 10:47 VZDump.pm
More information about the pve-user
mailing list