[libvirt-users] Libvirt heavy CPU usage

2012-05-04 Thread Samuel Hassine
Hi there, We are currently using OpenStack with the libvirt driver (libvirt version: 0.9.11.3) and LXC containers. We are observing a really bad CPU usage of libvirt_lxc processes: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 28828 root 20 0 40852 1376 832 R

[libvirt-users] Libvirt LXC and VCPU?

2012-05-04 Thread Samuel Hassine
Hi, We are using Openstack and Libvirt/LXC as our virtualization endpoint. Here is an example of one of our libvirt domain: http://paste.debian.net/167276/ So we have 4. But the command : root@PAR-SRV-02-MASTER:/etc/libvirt/lxc# virsh --connect lxc:/// dominfo instance-004a Id:

[libvirt-users] How to change libvirt / cgroup interaction?

2012-01-25 Thread Samuel Hassine
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-0005/devices.allow But when I restart the instance/LXC container

[libvirt-users] Question about libvirt / LXC

2012-01-24 Thread Samuel Hassine
Hi there, I have a small simple question about libvirt and LXC containers. I know how to activate /dev/net/tun in an LXC container: #tun lxc.cgroup.devices.allow = c 10:200 rwm in the LXC config file. But, how to do that in a libvirt XML file? I just need to activate the /dev/net/tun device

Re: [libvirt-users] Libvirt-LXC bug/error

2012-01-17 Thread Samuel Hassine, Another Service
://bugzilla.redhat.com/show_bug.cgi?id=782038 Tell me if you need more informations. Best regards. Sam Le 16/01/2012 12:05, Samuel Hassine, Another Service a écrit : > Hi all, > > I am trying to run LXC containers with the libvirt utils. I encountered > many difficulties but solved all of them, excep

[libvirt-users] Libvirt-LXC bug/error

2012-01-16 Thread Samuel Hassine, Another Service
Hi all, I am trying to run LXC containers with the libvirt utils. I encountered many difficulties but solved all of them, except a last one... This is why I need your help. My problem is simple, here is the log of the command: http://pastebin.com/2zrjYLiT When I try to do: virsh --connect lxc://