vzctl complaining after upgrade (vzeventd module not found)

MattCaron

New Member
May 9, 2011
3
0
1
Morning all,

So, I came in and did my normal morning:
Code:
sudo aptitude update
sudo aptitude full-upgrade

And instead of working nicely (as it has for the past year and a half or so), I get this:
Code:
Setting up vzctl (3.0.26-1pve3) ...
FATAL: Module vzevent not found.
Checking vzevent kernel module .....failed
invoke-rc.d: initscript vzeventd, action "start" failed.
dpkg: error processing vzctl (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pve-manager:
 pve-manager depends on vzctl (>= 3.0.23-1pve2); however:
  Package vzctl is not configured yet.
dpkg: error processing pve-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vzdump:
 vzdump depends on vzctl; however:
  Package vzctl is not configured yet.
dpkg: error processing vzdump (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 vzctl
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up vzctl (3.0.26-1pve3) ...
FATAL: Module vzevent not found.
Checking vzevent kernel module .....failed
invoke-rc.d: initscript vzeventd, action "start" failed.
dpkg: error processing vzctl (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pve-manager:
 pve-manager depends on vzctl (>= 3.0.23-1pve2); however:
  Package vzctl is not configured yet.
dpkg: error processing pve-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vzdump:
 vzdump depends on vzctl; however:
  Package vzctl is not configured yet.

Now, it's obvious to me that vzeventd is angry, and I don't find an vzevent.ko module anywhere on the system, so it's likely that is the culprit.

I'd just remove vzctl (all our VMs are KVM-based), except that pve-manager depends on it, and I assume that is important.

I don't see an obvious package which provides the vzevent module, and it doesn't seem that anyone else has had this problem.

Anyone have any ideas?
 
post the output of pveversion -v to see whats wrong.

(vzeventd module not found means you do not run a suitable kernel)
 
post the output of pveversion -v to see whats wrong.

(vzeventd module not found means you do not run a suitable kernel)

Sorry about that, meant to and forgot:

Code:
(mattc@E2-09L) /etc/init.d$ pveversion -v
pve-manager: not correctly installed (pve-manager/1.8/5948)
running kernel: 2.6.24-9-pve
pve-kernel-2.6.24-9-pve: 2.6.24-18
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: not correctly installed
vzdump: not correctly installed
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
 
Sorry about that, meant to and forgot:

Code:
(mattc@E2-09L) /etc/init.d$ pveversion -v
pve-manager: not correctly installed (pve-manager/1.8/5948)
running kernel: 2.6.24-9-pve

2.6.24 does not support vzeventd, so its not working anymore with the latest vzctl.