What i did on our test environment.
cggroup clear
/etc/init.d/cgred stop
/etc/init.d/cgconfig stop
/etc/init.d/libvirtd restart
And everything got back to normal.
David
2012/12/13 Daniel P. Berrange <berrange(a)redhat.com>:
On Thu, Dec 13, 2012 at 01:31:27PM -0700, Dax Kelson wrote:
> I have a RHEL6 that hosts many kvm virtual machines. It has been
> working fine for a couple years. I apply errata updates about once a
> week.
>
> In the last couple weeks, I've ran into a bug where the virtual
> machines start failing to start with a cgroup error message. If I
> reboot the host (very disruptive) then things start working normaly
> for a few days.
Sounds like something has either unmounted your cgroups, or
deleted the directories that libvirt created. I wonder if the
cgconfig initscript is doing it perhaps, and getting triggered in
a %post from an RPM script. In any case, you ought not need to
reboot the host - restarting libvirtd will get it to re-create
its cgroups.
> Can I configure qemu/libvirt not to use cgroups at all as a temporary
> workaround? How would I do that?
Simply don't mount any on the host and libvirt won't use them.
On RHEL6, the 'cgconfig' initscript is what mounts them at boot.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users