[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
Sat Aug 18 06:07:21 UTC 2012


Hi Olivier,

Thanks for the links. I see now that there is an option to assign
permissions to access control groups for non-root users. I'll try to
configure it and post back the results.

Best regards,
Anton

On Fri, Aug 17, 2012 at 11:31 PM, Anton Beloglazov <
anton.beloglazov at gmail.com> wrote:

> 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/20120818/62627240/attachment.htm>


More information about the libvirt-users mailing list