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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux