OpenVZ Forum


Home » General » Support » yum update : vzeventmod (dependancy errors )
yum update : vzeventmod [message #42345] Mon, 04 April 2011 15:37 Go to next message
mtrob is currently offline  mtrob
Messages: 3
Registered: April 2011
Location: Bradenton, Fl, US
Junior Member
while trying to do a 'yum update' I got the following error:

vzctl-3.0.26.2-1.x86_64 from openvz-utils has depsolving problems
--> Missing Dependency: vzeventmod is needed by package vzctl-3.0.26.2-1.x86_64 (openvz-utils)

All I can find is some mention of a kernel rpm missining the 'provides' entry for vzeventmod, but I am past that kernel. How do I get around this?
Re: yum update : vzeventmod [message #42391 is a reply to message #42345] Sun, 10 April 2011 14:59 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
same problem here with 2.6.18-128.1.1.el5.028stab062.3PAE

is the solution to update the kernel?

[Updated on: Sun, 10 April 2011 15:02]

Report message to a moderator

Re: yum update : vzeventmod [message #42454 is a reply to message #42391] Tue, 19 April 2011 15:35 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
update to latest kernel and your problem is solved

http://wiki.openvz.org/Download/kernel

Re: yum update : vzeventmod [message #42455 is a reply to message #42454] Tue, 19 April 2011 17:54 Go to previous messageGo to next message
mtrob is currently offline  mtrob
Messages: 3
Registered: April 2011
Location: Bradenton, Fl, US
Junior Member
Got it, worked great !

Thanks,

PS for others, that was a manual update of the kernel, at this moment, yum repo does not have it. Download from the link above and then do a "yum localinstall xxxxx", then you can do a regular "yum update" and things should flow once again.
Re: yum update : vzeventmod [message #42458 is a reply to message #42345] Tue, 19 April 2011 21:23 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
What do you mean, yum doesn't have it..? The latest stable kernel should be ok, if I'm not mistaken.

Which kernel are you using?
Re: yum update : vzeventmod [message #42459 is a reply to message #42458] Tue, 19 April 2011 21:34 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
correct yum doesnt have it and if you attempt to install a kernel upgrade using yum you risk being locked out of your box (happened to me twice)

i am using the latest kernel which suits my hardware from the link i have given

[Updated on: Tue, 19 April 2011 21:35]

Report message to a moderator

Re: yum update : vzeventmod [message #42460 is a reply to message #42459] Tue, 19 April 2011 21:41 Go to previous messageGo to next message
mtrob is currently offline  mtrob
Messages: 3
Registered: April 2011
Location: Bradenton, Fl, US
Junior Member
I had 2.6.18-194.17.1.el5.028stab070.7 on it, manually upgraded to 2.6.18-238.5.1.el5.028stab085.3 and all is well.
Re: yum update : vzeventmod [message #42461 is a reply to message #42345] Wed, 20 April 2011 02:04 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
I can see that the latest stable RHEL5 i686 and x86_64 kernels (238.5.1.el5.028stab085.3) are available trough the yum repository so it seems odd to me when you say that they aren't. These kernels should be ok with vzctl-3.0.26.2. If not, a bug should be filed ASAP.

Did you have problems with some other kernel subvariant such as PAE or XEN?
Re: yum update : vzeventmod [message #42469 is a reply to message #42461] Wed, 20 April 2011 12:09 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
i was upgrading from 2.6.18-128.1.1.el5.028stab062.3PAE to 2.6.18-238.5.1.el5.028stab085.3PAE

the only kernel that yum offers me is from "centos updates" and it will break the hostnode
Re: yum update : vzeventmod [message #42472 is a reply to message #42345] Wed, 20 April 2011 16:15 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Thanks for your feedback!

On a related note: you can change the contents of the file /etc/sysconfig/kernel from:

DEFAULTKERNEL=kernel


to either of (depending on what you need):

DEFAULTKERNEL=ovzkernel

DEFAULTKERNEL=ovzkernel-PAE

DEFAULTKERNEL=ovzkernel-ent

DEFAULTKERNEL=ovzkernel-xen


This will keep ovzkernel* as default in your grub.conf, even if you upgrade the stock CentOS kernel afterwards. Either that or you have to change it by hand after every kernel upgrade.
Re: yum update : vzeventmod [message #42474 is a reply to message #42472] Wed, 20 April 2011 16:32 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
even with the default kernel setting you give above yum is offering a centos update kernel

when using yum localinstall new_kernel.rpm the grub.conf is properly updated (that is what i saw this week when i upgraded the ovz kernel)
Re: yum update : vzeventmod [message #42475 is a reply to message #42345] Wed, 20 April 2011 16:58 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
If you don't wish to upgrade the stock kernel you can use yum config to exclude it from the updates or you can even uninstall it.

Otherwise yum offers to upgrade all the existing packages on a server, including the kernel, as it should. Just installing and upgrading the stock kernel will not break your server in any way. You can have it on the server, just don't use it.

I find this solution the easiest & cleanest - the default kernel setting will prevent yum from removing your ovzkernel from being the default one in grub.conf. That's all you need.

[Updated on: Wed, 20 April 2011 17:00]

Report message to a moderator

Re: yum update : vzeventmod [message #42476 is a reply to message #42475] Wed, 20 April 2011 17:07 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
it is an odd situation that yum should offer updates that conflict with the ovz repo

it catches you out only once but the disaster of failing to boot into a stock kernel on a box configured for ovz is expensive when remote hands are required at the datacentre to fix
Re: yum update : vzeventmod [message #42477 is a reply to message #42345] Wed, 20 April 2011 17:58 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
I really think you are confused about something here... Stock kernel and ovzkernel do not conflict in any way. Accidentally booting into stock kernel should not require remote hands to fix, you can simply log in to hardware node remotely, change grub.conf setting so that ovzkernel is set as default and reboot again. That's it.
Re: yum update : vzeventmod [message #42479 is a reply to message #42477] Wed, 20 April 2011 18:12 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
i am not at all confused but thank you for your kind suggestion

when yum updated the kernel to stock and the server refused to boot into the stock kernel then the 100 euro i paid the remote hands was real

Re: yum update : vzeventmod [message #42481 is a reply to message #42345] Wed, 20 April 2011 18:22 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
This seems to be an error specific to your server that caused all the trouble, right? If you can provide exact errors that stock kernel causes at boot, I'm more than willing to help you troubleshoot.
Re: yum update : vzeventmod [message #42483 is a reply to message #42481] Wed, 20 April 2011 19:45 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
the latest ovz kernel is installed and there are 20 customers on that box so i dont fancy experimenting, thanks for the offer

i dont know whether iptables configured for the hostnode (or another ovz kernel setting conflicting with stock kernel) was responsible for the lock out but it is a caution for admins to take care to manually exclude stock kernels from yum updates

it might also be down to the fact the server has been a hostnode for 2+ years and the ovz version installed at the time does not set the server in exactly the same way as the current ovz package

a lot of unknowns, but when a routine update takes down a hostnode with 20 customers left waiting 24 hours for their service to be restored there is a serious issue. it has been said that ovz is not suitable for the retail environment
Re: yum update : vzeventmod [message #42484 is a reply to message #42345] Wed, 20 April 2011 20:01 Go to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
I've been in the sysadmin/hosting business for more than a decade now and yes, there are many variables involved in administering a server that can cause unforeseen problems. Every server is a unique environment and the situation further worsens over time.

Not wanting to experiment on a live server is understandable, that's what test servers are for. I only suggested troubleshooting further because this kind of an error seems likely to repeat itself unless properly fixed.

In my experience openvz is production ready. Point anyone who thinks differently to this forum and I'm sure we'll have an interesting discussion. Smile
Previous Topic: vzctl set cpuunits and vzcpucheck strange behaviour
Next Topic: openvz cpanel high usage
Goto Forum:
  


Current Time: Sun Apr 28 10:43:20 GMT 2024

Total time taken to generate the page: 0.02444 seconds