[Users] Unable to run VM with "Unable to create cgroup" error message

Andrew Cathrow acathrow at redhat.com
Wed Jul 4 12:36:15 UTC 2012



----- Original Message -----
> From: "Martin Kletzander" <mkletzan at redhat.com>
> To: "xuejie chen" <xuejiechen52 at gmail.com>
> Cc: users at ovirt.org
> Sent: Wednesday, July 4, 2012 4:12:07 AM
> Subject: Re: [Users] Unable to run VM with "Unable to create cgroup" error message
> 
> Hi,
> 
> the only problem I could imagine is that there is really some
> directory
> missing, but you said it is there. Fromt his point I see two things
> you
> can try:
>  1) run libvirt with debugging output enabled [1]
>  2) try to create the directories manually

Is the cgroupfs mounted?


> 
> Hopefully it'll give us more information on what's wrong.
> 
> Martin
> 
> On 07/03/2012 11:55 AM, xuejie chen wrote:
> > Hi everyone,
> > 
> > I created a Desktop VM1 with all default settings and added a 2G
> > Disk
> > to the VM1 in WebAdmin.
> > But when I run the vm, it returns failure with the follow error
> > message in WebAdmin.
> > "VM VM1 is down. Exit message: Unable to create cgroup for VM1"
> > 
> > My DateCenter contains one host(with OS is CentOS 6, VDSM version
> > is
> > 4.9.6 and libvirt version is 0.9.4) and one NFS domain.
> > And The cgroup Directory have already exits on the host.
> > But why cannot I run the VM1?
> > 
> > There are some error message in VDSM log
> > --------
> > File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2087, in
> > createXML
> >    if ret is None: raise libvirtError('virDomainCreateXML()
> >    failed', conn=self)
> > libvirtError: Unable to create cgroup for VM1: No such file or
> > directory
> > ----------
> > 
> > There are some error message in libvirt log
> > ---------
> > error : virNetClientProgramDispatchError:170 : Unable to create
> > cgroup
> > for VM1: No such file or directory"
> > ---------
> > 
> > There are log files in attachment
> > 
> > 
> > Best wishes,
> > Xuejie Chen
> > 
> > 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list