On Thu, Aug 22, 2013 at 01:35:29PM +0200, arun abhinay wrote:
Hi Daniel,
Thanks a lot for your reply.
We have mounted all the cgoup controllers at "/dev/cgroup_<controller>"
as
mentioned below.
ls /dev/ | grep cgroup
cgroup_cpu cgroup_cpuacct cgroup_cpuset cgroup_mem
On further debugging we dound that the "VCPU" directories are not being
created for our domains and hence the comamnd "cpu-stats <domain>" is
failing.
Below is the snippet of logs collected with debug logs enabled for libvirt.
2013-08-21 15:03:35.162+0000: 1273: error : virCgroupMakeGroup:708 : Make
group /machine/anusha.libvirt-qemu/vcpu0
2013-08-21 15:03:35.162+0000: 1273: error : virCgroupMakeGroup:729 :
Makecontroller /dev/cgroup_cpu/machine/anusha.libvirt-qemu/vcpu0/
2013-08-21 15:03:35.162+0000: 1273: error : virCgroupMakeGroup:745 : Failed
to create controller cpu for group
Is that a debug log from when you started the guest, or from
when you run the cpu-stats command. We need a full log from
when you started the guest to try & diagnose this.
Run libvirtd with
LIBVIRT_LOG_FILTERS="1:cgroup" LIBVIRT_LOG_OUTPUTS=1:file:/tmp/libvirt.log
/usr/sbin/libvirtd
and start the guest, and then upload the log somewhere we can see it
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 :|