Displaying 5 results from an estimated 5 matches for "qemusetupcgroupforvcpu".
2013 Aug 23
2
Re: virsh "cpu-stats" not working !!!
....
But we are mounting it well before it is started.
We are facing the issue only while executing the "cpu-stats <domain name>"
command.
One more observation is that : While starting the domain, we are observing
the below error.
"2013-08-22 12:45:44.326+0000: 17554: warning : qemuSetupCgroupForVcpu:953
: Unable to get vcpus' pids."
This may be the root cause of virsh cpu-stats not working. ( seems to be
because of CPU pinning issue )
Because of this the VCPU directories are not created for the corresponding
domain in "/dev/cgroup_<controller>/machine/<domain>.lib...
2013 Aug 22
1
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
...u-stats command relies on the vCPU cgroups existing. These are
> created when the guest starts. So the fact that cpu-stats can't find
> the cgroups shows that something failed during startup.
>
>
> Your log file shows this:
>
> 2013-08-22 12:45:44.326+0000: 17554: warning : qemuSetupCgroupForVcpu:953
> : Unable to get vcpus' pids.^M
>
> which is the root cause of your problems.
>
> If libvirt can't find the vcpu PIDs, this suggests that your guests are
> running using QEMU TCG instead of KVM.
>
> Daniel
> --
> |: http://berrange.com -o- http://w...
2013 Aug 22
2
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
Hi Daniel,
Thanks for your immidiate reply. The starting of virtual guest was ok on
our machine. We are facing this issue while executing the "cpu-stats
<domain name>" command.
I have collected the debug logs as you suggested and attaching the same.
<<libvirt_testing_starting_VG.log >> --> Log collected while starting the
virtual guest
2013 Aug 22
0
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
...and attaching the same.
The cpu-stats command relies on the vCPU cgroups existing. These are
created when the guest starts. So the fact that cpu-stats can't find
the cgroups shows that something failed during startup.
Your log file shows this:
2013-08-22 12:45:44.326+0000: 17554: warning : qemuSetupCgroupForVcpu:953 : Unable to get vcpus' pids.^M
which is the root cause of your problems.
If libvirt can't find the vcpu PIDs, this suggests that your guests are
running using QEMU TCG instead of KVM.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://l...
2013 Aug 21
2
virsh "cpu-stats" not working !!!
>
> Hi All,
>
> Can you please guide us in solving this issue.
>
> Version used : libvirt-1.0.6
> # rpm -qa | egrep "libvirt|qemu"
> qemu-kvm-0.14.1-1_WR4.3.x86_64_XXX.x86_64
> libvirt-1.0.6-1_WR4.3.x86_64_XXX.2.x86_64
>
> Problem :
>
> # virsh cpu-stats CLA-0
> error: Failed to retrieve CPU statistics for domain 'CLA-0'
> *error: