I know it's not exactly an apcupsd UPS support site, but I hope that someone else might have seen the same issues as I, as it possibly relates to the PVE kernel.
I've upgraded 2 systems where previously we ran PVE 3.4 latest. These systems used apcupsd for smaller MGE/Eaton Ellipse UPS boxes. They were perfectly fine, apcaccess has displayed proper status info, shutdown, etc. was properly carried out. On PVE 4.4 it's broken, apcaccess is displaying this:
It appears the UPS is not properly recognised as all important values are bogus.
PVE version:
Does any one have an idea? I've tried to downgrade to the old Wheezy version, upgraded to latest from sources, none worked, so I'm suspecting it's PVE or PVE kernel specific.
I've upgraded 2 systems where previously we ran PVE 3.4 latest. These systems used apcupsd for smaller MGE/Eaton Ellipse UPS boxes. They were perfectly fine, apcaccess has displayed proper status info, shutdown, etc. was properly carried out. On PVE 4.4 it's broken, apcaccess is displaying this:
Code:
APC : 001,028,0643
DATE : 2017-05-04 12:57:23 +0200
HOSTNAME : behemoth
VERSION : 3.14.12 (29 March 2014) debian
UPSNAME : behemoth
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2017-05-04 12:57:22 +0200
MODEL :
STATUS : ONLINE
LOADPCT : 0.0 Percent
BCHARGE : 0.0 Percent
TIMELEFT : 0.0 Minutes
MBATTCHG : 40 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 0.0 Volts
DWAKE : 0 Seconds
LOTRANS : 0.0 Volts
HITRANS : 0.0 Volts
ALARMDEL : 30 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO :
END APC : 2017-05-04 12:57:24 +0200
It appears the UPS is not properly recognised as all important values are bogus.
PVE version:
Code:
proxmox-ve: 4.4-87 (running kernel: 4.4.59-1-pve)
pve-manager: 4.4-13 (running version: 4.4-13/7ea56165)
pve-kernel-4.4.59-1-pve: 4.4.59-87
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-49
qemu-server: 4.0-110
pve-firmware: 1.1-11
libpve-common-perl: 4.0-94
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-99
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
fence-agents-pve: not correctly installed
Does any one have an idea? I've tried to downgrade to the old Wheezy version, upgraded to latest from sources, none worked, so I'm suspecting it's PVE or PVE kernel specific.