Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-18 Thread Chris Murray

On 18/10/2016 11:45, Dietmar Maurer wrote:

what is the output of

# pveversion -v

seem there are missing packages. Try to fix with

# apt-get install proxmox-ve


# pveversion -v
-bash: pveversion: command not found

Bingo!!

Thank you very much Dietmar. I'm not sure how I'd made this happen on 
two separate clusters simultaneously, but seemingly proxmox-ve had been 
removed.



___
pve-user mailing list
pve-user@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-18 Thread Dietmar Maurer
what is the output of

# pveversion -v

seem there are missing packages. Try to fix with

# apt-get install proxmox-ve

___
pve-user mailing list
pve-user@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-18 Thread Chris Murray

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,  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,  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,  
line 751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: Compilation failed in require 
at /usr/sbin/pve-firewall line 6,  line 751.
Oct 18 09:23:32 ceph47 pve-firewall[9046]: BEGIN failed--compilation 
aborted at /usr/sbin/pve-firewall line 6,  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 root297 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 root799 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 root297 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 root422 Oct  7 10:47 pvecfg.pm
-rw-r--r-- 1 root root   7987 Oct  7 07:23 QemuConfig.pm
-rw-r--r-- 1 root 

Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-18 Thread Dietmar Maurer
> 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

___
pve-user mailing list
pve-user@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-18 Thread Chris Murray

On 18/10/2016 05:26, Dietmar Maurer wrote:

Sure enough, I can't find an LXC.pm

Seems your installation is broken. Try to fix that with

# apt-get update
# apt-get dist-upgrade


Good morning Dietmar,

I've tried that, and it's still unhappy:

Calculating upgrade... The following packages were automatically 
installed and are no longer required:
  apparmor btrfs-tools ceph-fs-common ceph-fuse criu cryptsetup-bin 
libapparmor-perl libapparmor1 libasn1-8-heimdal libbabeltrace-ctf1 
libbabeltrace1
  libboost-program-options1.49.0 libboost-program-options1.55.0 
libboost-regex1.55.0 libcephfs1 libelf1 libfcgi0ldbl libgnutlsxx28 
libgssapi3-heimdal
  libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal 
libhx509-5-heimdal libjemalloc1 libjs-jquery libkrb5-26-heimdal 
libleveldb1 libprotobuf-c1
  libprotobuf9 libpve-storage-perl librados2-perl libroken18-heimdal 
libseccomp2 libwind0-heimdal lxc-pve lxcfs netcat6 pve-docs 
python-blinker python-cephfs
  python-flask python-ipaddr python-itsdangerous python-jinja2 
python-markupsafe python-protobuf python-pyinotify python-werkzeug 
smartmontools uidmap

  xfsprogs
Use 'apt-get autoremove' to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
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.

dpkg: error processing package pve-firewall (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pve-firewall


Interestingly, though, I'd just tried the same on another node of the 
'test cluster' (it's just three VMs which live inside another Proxmox 
cluster), and that worked fine. Could this be something which has been 
recified in the repositories between the first two problematic attempts 
and the third successful one? (Cluster #1, Node #1 fail) .. (Cluster #2, 
Node #1 fail) .. problem fixed? .. (Cluster #2, Node #2 success)


I'm reluctant to try another node on Cluster #1 because it's rendered 
the Ceph MON and OSDs on that node unusable.

___
pve-user mailing list
pve-user@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] pve-firewall 2.0-31 broken on upgrade?

2016-10-17 Thread Dietmar Maurer
> Sure enough, I can't find an LXC.pm

Seems your installation is broken. Try to fix that with

# apt-get update
# apt-get dist-upgrade

___
pve-user mailing list
pve-user@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user