[libvirt-users] Fedora 19/20 new install :Unable to create vcpu cgroup

Kashyap Chamarthy kchamart at redhat.com
Thu Jun 12 16:06:59 UTC 2014


On Thu, Jun 12, 2014 at 01:01:18PM +0300, Patrick Chemla wrote:
> Hi,
> 
> After full new install of Fedora 19 or 20, I am getting this when I want to
> create a new VMs.

FWIW, I'm able to create new unattended Fedora 20 VMs just fine with a
script like that[1] which uses virt-install. To invoke the script:

    $ ./create-guest-qcow2.bash f20vm1 f20 x86_64


Or you can try trivially install guests with a tool like virt-builder.
To install a Fedora 20 guest and update to latest available packages:

    $ virt-builder fedora-20 -o f20vm1.qcow2 --update --selinux-relabel \
      --format qcow2 --size 30G

Import the guest into libvirt:

   $ virt-install --name f20vm1 --ram 2048 --disk \
      path=/home/kashyap/f20vm1.qcow2,format=qcow2 --import


  [1] https://github.com/kashyapc/virt-scripts/blob/master/create-guest-qcow2.bash
> 
> 
> 
> Impossible de terminer l'installation : « Unable to create vcpu cgroup for
> fedora20(vcpu: 0): Aucun fichier ou dossier de ce type »
> 
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in
> cb_wrapper
> callback(asyncjob, *args, **kwargs)
> File "/usr/share/virt-manager/virtManager/create.py", line 1787, in
> do_install
> guest.start_install(meter=meter)
> File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install
> noboot)
> File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest
> dom = self.conn.createLinux(start_xml or final_xml, 0)
> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2897, in
> createLinux
> if ret is None:raise libvirtError('virDomainCreateLinux() failed',
> conn=self)
> libvirtError: Unable to create vcpu cgroup for fedora20(vcpu: 0): Aucun
> fichier ou dossier de ce type
> 
> 
> I saw that there is no cpu mounted, only cpuacct.
> 
> I saw on other server that cpu is a link to cpu,cpuacct
> 
> But I can't find how to add this in a config file
> 
> Thanks for help
> Patrick
> 
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

-- 
/kashyap




More information about the libvirt-users mailing list