Displaying 20 results from an estimated 8000 matches similar to: "auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation"
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 Oct 17
0
cgroup blkio.weight working, but not for KVM guests
I'm running libvirt 0.10.2 and qemu-kvm-1.2.0, both compiled from source, on
CentOS 6. I've got a working blkio cgroup hierarchy which I'm attaching
guests to using the following XML guest configs:
VM1 (foreground):
<cputune>
<shares>2048</shares>
</cputune>
<blkiotune>
<weight>1000</weight>
</blkiotune>
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 May 11
1
Permission issue with cgroups
Hello libvirt users,
I'm using the cgroup with QEMU guests. At /etc/libvirt/qemu.conf, I have
the following parameter:
cgroup_controllers = [ "cpu" ]
This controller is successfully mounted and libvirt is able to create
subgroups for each VM, it's really great the cgroups support in libvirt.
The problem is that I can only set the parameters of a given cgroup under
the cpu
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
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
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
2011 Nov 01
1
CentOS5: libvirtd filling up /var/lib/libvirt/qemu/save
How can I disable libvirtd from attempting to suspend VMs on poweroff /
reboot? It is slowly filling up our /var/ filesystem with save points at
/var/lib/libvirt/qemu/save/<vm name>.save, even though I'm not initiating
any suspend or restore functionality.
I checked /etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf but could
not find anything.
This is CentOS 5 with libvirt
2012 Dec 13
1
RHEL6 cgroup error after a few days of uptime
I have a RHEL6 that hosts many kvm virtual machines. It has been
working fine for a couple years. I apply errata updates about once a
week.
In the last couple weeks, I've ran into a bug where the virtual
machines start failing to start with a cgroup error message. If I
reboot the host (very disruptive) then things start working normaly
for a few days.
Can I configure qemu/libvirt not to use
2013 Mar 14
1
cgroups not working?
Hi,
I'm trying to use cgroups to limit the apache webserver but this doesn't
seem to work as far as I can tell.
I modified cgconfig.conf like this:
group webserver {
cpu {
cpu.shares="250";
}
}
and addes this to cgrules.conf:
*:httpd * webserver
Looking into the "webserver" cgroup shows that the pid's of
2014 Feb 10
2
Re: libvirt/qemu and cgroups
> The precise answer depends on which version of systemd you have. In
> any systemd host though, systemd should ensure all the filesystems
> are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205
> then you can use its "slice" and "scope" concepts to setup grouping
> of VMs. If you have older systemd, then you have to setup groups
>
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
2014 Dec 17
0
Again with same Cgroup issue :)
Hello All,
From the last couple of days i have been spamming this
mailing list with request for configuring Cgroup with libvirtd on
Centos systems.
I still can not find a permanent solution to limit host
RAM to particular value,tried creating a separate hierarchy "mykvm"
and changed in sysconfig/libvirtd after that vm's memory cgroup
reflects this.But it is
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
2012 Nov 01
1
build error on CentOS 5
I'm getting the following error when building libvirt 10.2 from source in
CentOS 5:
CC libvirt_util_la-processinfo.lo
util/processinfo.c: In function 'virProcessInfoGetAffinity':
util/processinfo.c:164: error: invalid operands to binary |
The line in question is:
162 for (i = 0 ; i < maxcpu ; i++)
163 if (CPU_ISSET(i, &mask))
164
2012 Oct 03
1
no callback on VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE in 0.10.2
I'm trying to track balloon growth after issuing a setmem command to a KVM
guest with libvirt 0.10.2 and qemu-kvm 0.12.1.2 on CentOS 6.3. libvirt
0.10.2 was built from tar today and appears to be working fine. The guest
is running CentOS 6.3 as well.
Using the provided test programs under examples/domain-events/ in C and
Python, I'm not seeing VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE ever
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
2019 May 29
0
Diskless Centos & Cgroup config changes
Hi,
I have OS 'image' that boots via PXE and mounts over NFS. (7.5.1804). I am
wanting to explore allowing cgroup usage on this configuration.
The root image is exported read-only over NFS and am using statetab & rwtab
to allow some persistent parts of the filesystem as well as read/write
where needed.
I have tried setting /sys in the statetab and this causes the machine to
fail,
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 12:29:10AM +0100, arnaud gaboury wrote:
> 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
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 01:28:42PM +0100, arnaud gaboury wrote:
> > The precise answer depends on which version of systemd you have. In
> > any systemd host though, systemd should ensure all the filesystems
> > are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205
> > then you can use its "slice" and "scope" concepts to setup