libvirtd Unable to create cgroup

Richard Ryniker ryniker at alum.mit.edu
Wed May 18 23:30:14 UTC 2011


F15 RC3 installed without any obvious problems.

Failure during attempt to create a virtual machine.

[root at hp ryniker]# virt-install --prompt
What is the name of your virtual machine? 
MPLAB
How much RAM should be allocated (in megabytes)? 
4096
What would you like to use as the disk (file path)? 
/home/ryniker/Virt_stor/MPLAB.img 
This will overwrite the existing path '/home/ryniker/Virt_stor/MPLAB.img'
Do you really want to use this disk (yes or no) 
yes
What is the install CD-ROM/ISO or URL? 
/f11/fedora/F15/Fedora-15-x86_64-DVD.iso

Starting install...
ERROR    Unable to create cgroup for MPLAB: No such file or directory
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start MPLAB
otherwise, please restart your installation.

[root at hp ryniker]# systemctl status cgconfig.service
cgconfig.service - LSB: start and stop the WLM configuration
	  Loaded: loaded (/etc/rc.d/init.d/cgconfig)
	  Active: active (exited) since Wed, 18 May 2011 17:48:34 -0400; 6min ago
	 Process: 10089 ExecStart=/etc/rc.d/init.d/cgconfig start (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/cgconfig.service
[root at hp ryniker]#

From:  /var/log/messages...

May 18 17:54:25 hp libvirtd: 17:54:25.695: 1267: error : qemuSetupCgroup:199 : Unable to create cgroup for MPLAB: No such file or directory
May 18 17:54:25 hp libvirtd: 17:54:25.771: 1267: error : qemuRemoveCgroup:350 : internal error Unable to find cgroup for MPLAB
May 18 17:54:25 hp libvirtd: 17:54:25.771: 1267: warning : qemudShutdownVMDaemon:3115 : Failed to remove cgroup for MPLAB


This feels like "Addled user forgot to ...".  I welcome some useful words
of wisdom, even snide remarks about blatent oversights.


More information about the test mailing list