[Pkg-libvirt-maintainers] Bug#734995: libvirt-bin: Failed to start domain with error " Unable to read from '/sys/fs/cgroup/cpu/machine/''

Ahmad Saif ahmad.abosaif at gmail.com
Sat Jan 11 16:55:47 UTC 2014


Package: libvirt-bin
Version: 1.1.4-2
Severity:serious

When using virsh to start a domain with <cputune> tag like the following

   <cputune>
     <shares>4000</shares>
     <period>100000</period>
     <quota>-1</quota>
   </cputune>

It give me the following error :

error: Call to virDomainCreateWithFlags failed: Unable to read from '/sys/fs/cgroup/cpu/machine/VM-fe5f-KIWI.libvirt-qemu/vcpu0/cpu.cfs_period_us': No such file or directory

It seams that libvirt cannot create the required directory for the VM under /machine

this is my mount related to cgroup

cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime)
cgroup_cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup_cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cgroup_cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
cgroup_devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup_freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup_net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup_blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup_perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)


I'm using wheezy and have installed this version from the wheezy-backports.



More information about the Pkg-libvirt-maintainers mailing list