Re: [libvirt-users] Redhat 7: cgroup CPUACCT controller is not mounted

2017-02-28 Thread youssef.elfathi
Thanks Martin, it resolved my issue. I had to adapt my setup to allow the non-root user to use libvirt! -Original Message- From: Martin Kletzander [mailto:mklet...@redhat.com] Sent: mardi 28 février 2017 19:07 To: EL FATHI Youssef OBS/OINIS Cc: libvirt-users@redhat.com Subject: Re: [lib

Re: [libvirt-users] Redhat 7: cgroup CPUACCT controller is not mounted

2017-02-28 Thread youssef.elfathi
Thanks Martin to confirm that the issue is due to privilege access. How can I run a domain as non-root and be able to access the cpu information? -Original Message- From: Martin Kletzander [mailto:mklet...@redhat.com] Sent: Tuesday, February 28, 2017 16:18 To: EL FATHI Youssef OBS/OINIS

[libvirt-users] Redhat 7: cgroup CPUACCT controller is not mounted

2017-02-27 Thread youssef.elfathi
Hi, With a non-root user account, I am launching virtual machines and would like to get CPU stats for each Core (using python API or not) but face the following problem: - When I issue the command "virsh --readonly cpu-stats MY_DOMAIN" I got the following error: error: Failed to retrieve CPU