similar to: RHEL6 cgroup error after a few days of uptime

Displaying 20 results from an estimated 1000 matches similar to: "RHEL6 cgroup error after a few days of uptime"

2015 Sep 24
1
Guest cpuacct counters and others location
Hi, My piece of code ( C langage) uses cgroups to retrieve counters related to cpu and memory usage related to KVM guests hosted by the host where this code runs. I noticed that depending on the O.S. running on the host , these counters are not found at the same location : CentOS 7 : ls /sys/fs/cgroup/cpuacct/machine.slice/machine-qemu\\x2drhel6.0.scope/vcpu0 cgroup.clone_children
2011 Jan 23
2
Cgroup
Hello, I'm running Debian Sid with libvirt/qemu/kvm packages from experimental: $ qemu --version QEMU emulator version 0.13.0 (Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ kvm --version QEMU emulator version 0.13.0 (qemu-kvm-0.13.0 Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ libvirtd --version libvirtd (libvirt) 0.8.6 /etc/libvirt/qemu.conf
2012 Nov 07
1
libvirt with lxc: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted
Hi, I'm running OpenStack to manage LXC instance through libvirt. The same setting runs perfectly well on Ubuntu 12.04, while on CentOS 6u3, libvirt dumped following message when starting lxc instance. virsh -c lxc:/// start instance-00000032 error: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted Really appreciated if
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello, I'm trying to use libvirt as a non-root user to obtain statistics on the CPU usage by VMs using the Python API. I'm performing basically the following steps: import libvirt conn = libvirt.openReadOnly(None) dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4') dom.getCPUStats(True, 0) However, they result in the following error: libvir: QEMU Driver
2012 Jan 25
2
How to change libvirt / cgroup interaction?
Hi there, Do you know if there is a way to modify how libvirt interacts with the cgroup? Because, I successfully add the /dev/net/tun support in my LXC container by doing: echo c 10:200 rwm >> /cgroup/libvirt/lxc/instance-00000005/devices.allow But when I restart the instance/LXC container, this option has gone. How can I make this persistant? Is there a configuration file? Thanks
2013 Aug 21
2
Information needed regarding the libvirt version libvirt-1.0.6-1
Hi, We have upgraded the libvirt version from libvirt-1.0.5 to libvirt-1.0.6-1 on our linux machine. After this upgrade "virsh cpu-stats <domain>" command is not working on our HardWare. *virsh # cpu-stats test error: Failed to retrieve CPU statistics for domain 'test' error: internal error error accessing cgroup cpuacct for vcpu* ** *# cat /proc/cgroups #subsys_name
2011 Nov 01
1
auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation
Is there a way to automatically set the permissions of cgroups directories created by libvirt when a VM is launched? Although it looks like I can set permissions on top-level /cgroup directories via cgconfig.conf, the cgconfig.conf manpage says "Permissions are related only to enclosing control group and are not inherited by subgroups.". From this, I believe that when libvirt
2014 Sep 15
2
cgroups inside LXC containers losts memory limits after some time
Hi all I have CentOS Linux release 7.0.1406, libvirt 1.2.7 installed. Just after create and start inside LXC container present cgroups. Example for memory: [root@ce7-t1 /]# ls -la /sys/fs/cgroup/memory/ total 0 drwxr-xr-x 2 root root 0 Sep 15 17:14 . drwxr-xr-x 12 root root 280 Sep 15 17:14 .. -rw-r--r-- 1 root root 0 Sep 15 17:14 cgroup.clone_children --w--w--w- 1 root root 0 Sep 15
2011 Feb 15
2
monitiring cpu usage via cgroup
Hi I was asking about the fedora 14 kernel if it is good enough for cgroup usage because I am trying to set a cgroup under cpu subsytem ( /dev/cgroup/cpu/group1/ ) that have /cpu.rt_runtime_us of 100000 while cpu.rt_period_us has a value of 1000000 i.e a ratio of 1/10 . still when I run a task (endless loop) in that group (cgexec -g cpu,cpuset:group1 ./test) it gets all the cpu core time
2014 Dec 14
0
Difficulty configuring Cgroups on redhat/centos
Hello All, i am trying to set "memory.limit_in_bytes" for all process created by libvirt.But i am not able to achieve this on RHEL systems in Ubuntu servers creating memory cgroup for "libvirt-qemu" user solves the issue.But in case of RHEL system i tried to create a group by editing "cgconfig.conf" and then changing cgrules.conf and restarted cgconfig and
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:
2013 Jun 07
2
Re: cgroup error starting domains
On Fri, Jun 07, 2013 at 01:07:01PM +0200, Matteo Bernardini wrote: > Thanks Daniel for helping with this :) > > # cat /proc/mounts [snip] > cgroup /sys/fs/cgroup cgroup rw,relatime,bfqio,hugetlb,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children Ok so here you've mounted all the cgroups controllers at the same place. This is really strongly
2014 Feb 09
3
libvirt/qemu and cgroups
Dear list, I am building a Arch server on my Arch box. My tools are QEMU/KVM and libvirt to manage the guest, systemd as system manager. I am looking at implementing the Linux Control Groups facilities for resource management. Even after long hours of reading, I am not quite sure about how to deal with the cgroups facilities. First, do I really need to care about all that, or libvirt and
2017 Feb 27
2
Redhat 7: cgroup CPUACCT controller is not mounted
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 statistics for domain 'MY_DOMAIN' error: Requested operation is not valid: cgroup
2017 Feb 28
2
Re: Redhat 7: cgroup CPUACCT controller is not mounted
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:mkletzan@redhat.com] Sent: Tuesday, February 28, 2017 16:18 To: EL FATHI Youssef OBS/OINIS Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Redhat 7: cgroup CPUACCT controller is not
2013 Sep 03
2
No valid cgroup for machine...
Hello! How do i get pass this error? offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml create: file(optdata): o1.xml error: Failed to create domain from o1.xml error: internal error: No valid cgroup for machine c1 My cgroups seem to be mounted: cgroup on /sys/fs/cgroup/systemd type cgroup
2013 Aug 21
0
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
On Wed, Aug 21, 2013 at 09:06:21AM +0200, arun abhinay wrote: > Hi, > > We have upgraded the libvirt version from libvirt-1.0.5 to libvirt-1.0.6-1 > on our linux machine. After this upgrade "virsh cpu-stats <domain>" command > is not working on our HardWare. > > *virsh # cpu-stats test > error: Failed to retrieve CPU statistics for domain 'test'
2013 Jun 07
0
Re: cgroup error starting domains
Thanks Daniel for helping with this :) # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext4 rw,noatime,data=ordered 0 0 devtmpfs /dev devtmpfs rw,relatime,size=1970508k,nr_inodes=492627,mode=755 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,relatime,mode=755 0 0 devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0 fusectl
2013 Sep 04
0
Re: No valid cgroup for machine...
On 09/04/2013 07:05 AM, Jaka Hudoklin wrote: > Hello! > > How do i get pass this error? > > offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml > > create: file(optdata): o1.xml > error: Failed to create domain from o1.xml > error: internal error: No valid cgroup for machine c1 > Can you give me some extra debug log? > My cgroups seem to be mounted:
2014 Jun 12
0
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
On Thu, Jun 12, 2014 at 01:01:18PM +0300, Patrick Chemla wrote: > Hi, > > After full new install of Fedora 19 or 20, I am getting this when I want to > create a new VMs. FWIW, I'm able to create new unattended Fedora 20 VMs just fine with a script like that[1] which uses virt-install. To invoke the script: $ ./create-guest-qcow2.bash f20vm1 f20 x86_64 Or you can try