[libvirt-users] getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted

Anton Beloglazov anton.beloglazov at gmail.com
Fri Aug 17 13:31:40 UTC 2012


Hi Olivier,

Thanks for the suggestion, but Cgroups is installed and started. As I
mentioned, everything works for the root user. Should I do some special
configuration for a non-root user? Currently, my /etc/cgconfig.conf
contains the following:

mount {
cpuacct = /mnt/cgroups/cpuacct;
}

Thanks,
Anton

On Fri, Aug 17, 2012 at 11:24 PM, Olivier Doucet <webmaster at ajeux.com>wrote:

> Hi,
>
> > libvir: QEMU Driver error : Requested operation is not valid: cgroup
> CPUACCT
> > controller is not mounted
>
> You need to install/configure Cgroups on your system :
> http://en.wikipedia.org/wiki/Cgroups
>
> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html
>
> Olivier
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120817/c8534f93/attachment.htm>


More information about the libvirt-users mailing list