Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread hzguanqi...@corp.netease.com
On 2013-11-14 15:03 , Gao feng wrote: On 11/14/2013 02:57 PM, hzguanqi...@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng wrote: > > On 11/14/2013 01:52 PM, hzguanqi...@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread Gao feng
On 11/14/2013 02:57 PM, hzguanqi...@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng wrote: > > On 11/14/2013 01:52 PM, hzguanqi...@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng wrote: > > > >

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread hzguanqi...@corp.netease.com
On 2013-11-14 14:17 , Gao feng wrote: On 11/14/2013 01:52 PM, hzguanqi...@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqi...@corp.netease.com wrote: > >> Hi

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread Gao feng
On 11/14/2013 01:52 PM, hzguanqi...@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqi...@corp.netease.com wrote: > >> Hi experts, > >> > >> When I tes

[libvirt-users] UTS namespace

2013-11-13 Thread Aarti Sawant
Hello, I am trying to set up UTS name space on centos 6.4 LXC container. one method is that we set the host name in /etc/sysconfig/network. hostname=test1 Is there any way so that i can set the hostname in libvirt xml while creating a container? I know using lxc-tools we can set hostname while cr

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread hzguanqi...@corp.netease.com
On 2013-11-14 13:41 , Gao feng wrote: On 11/14/2013 01:24 PM, Gao feng wrote: > On 11/14/2013 10:59 AM, hzguanqi...@corp.netease.com wrote: >> Hi experts, >> >> When I test lxc-enter-namespace interface, it turned out such an error: >> >> hzguanqiang@debian:~$ vir

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread Gao feng
On 11/14/2013 01:24 PM, Gao feng wrote: > On 11/14/2013 10:59 AM, hzguanqi...@corp.netease.com wrote: >> Hi experts, >> >> When I test lxc-enter-namespace interface, it turned out such an error: >> >> hzguanqiang@debian:~$ vir version >> Compiled against library:

Re: [libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread Gao feng
On 11/14/2013 10:59 AM, hzguanqi...@corp.netease.com wrote: > Hi experts, > > When I test lxc-enter-namespace interface, it turned out such an error: > > hzguanqiang@debian:~$ vir version > Compiled against library: libvirt 1.1.4 > Using library: libvirt 1.1.4 > U

Re: [libvirt-users] User Namespace in LXC

2013-11-13 Thread Saurabh Deochake
Hi Gao, Thanks a lot for your help. I'm currently upgrading my kernel (from 3.9.5 to 3.11.7) and checking if user namespace works or not. Regards, Saurabh Deochake, On Wed, Nov 13, 2013 at 11:10 AM, Gao feng wrote: > Hi Saurabh, > > First of all. I think there are something wrong in you conta

[libvirt-users] Problem about lxc-enter-namespace interface

2013-11-13 Thread hzguanqi...@corp.netease.com
Hi experts, When I test lxc-enter-namespace interface, it turned out such an error: hzguanqiang@debian:~$ vir version Compiled against library: libvirt 1.1.4 Using library: libvirt 1.1.4 Using API: LXC 1.1.4 Running hypervisor: LXC 3.9.6 hzguanqiang@debian:~$ vir list IdName

Re: [libvirt-users] How to tell libvirt not to use qemu "accel=kvm" for a FreeBSD guest

2013-11-13 Thread Christian Gagneraud
On 14/11/13 10:53, Christian Gagneraud wrote: Hi there, I have used qemu to install FreeBSD 9.2 release, and i can boot it fine with: $ qemu-system-x86_64 -hda images/FreeBSD-9.2-RELEASE-amd64.img I then made virsh aware of my brand new VM (see attached XML), but when i run it via virsh, It han

Re: [libvirt-users] Doc/web site problems

2013-11-13 Thread Greg Ward
On Wed, Nov 13, 2013, at 10:52 AM, Eric Blake wrote: > > OK. What's ? "virsh list" doesn't list anything, despite the > > fact that I still have one VM visible in the virt-manager GUI. > > Ah. First step then is to make sure you are connecting to the same > libvirtd instance as virt-manager is (b

[libvirt-users] How to tell libvirt not to use qemu "accel=kvm" for a FreeBSD guest

2013-11-13 Thread Christian Gagneraud
Hi there, I have used qemu to install FreeBSD 9.2 release, and i can boot it fine with: $ qemu-system-x86_64 -hda images/FreeBSD-9.2-RELEASE-amd64.img I then made virsh aware of my brand new VM (see attached XML), but when i run it via virsh, It hangs after the bootloader whith this message:

Re: [libvirt-users] Migration function is not supported by the connection driver: virDomainMigrate2

2013-11-13 Thread Daniel P. Berrange
On Wed, Nov 13, 2013 at 01:01:54PM -0500, Joseph Perrin wrote: > Greetings; > > I'm running Fedora 19, Xen 4.2.3, libvirt 1.0.5.6. I have two identical > servers x1 & x2. I've read http://libvirt.org/migration.html & I've > created certificates for tls according to > http://wiki.libvirt.org/page

[libvirt-users] Migration function is not supported by the connection driver: virDomainMigrate2

2013-11-13 Thread Joseph Perrin
Greetings; I'm running Fedora 19, Xen 4.2.3, libvirt 1.0.5.6. I have two identical servers x1 & x2. I've read http://libvirt.org/migration.html & I've created certificates for tls according to http://wiki.libvirt.org/page/TLSSetup I can do this on both servers, and from a third admin server: #

Re: [libvirt-users] Lots of threads and increased IO load

2013-11-13 Thread Gergely Horváth
On the other hand, I still do not understand why does one guest's IO load increase, when an other guest is doing some minor IO work on the host? -- Üdvözlettel / Best regards Horváth Gergely | gergely.horv...@inepex.com IneTrack - Nyomkövetés egyszerűen | Inepex Kft. Ügyfélszolgálat: supp...@ine

Re: [libvirt-users] Lots of threads and increased IO load

2013-11-13 Thread Gergely Horváth
On 2013-11-13 16:38, Eric Blake wrote: > I don't know if qemu exposes a knob for limiting the number of aio > helper threads it can spawn, or even if that is a good idea. Those threads do not cause any problems, the host is dealing with a lot of them and has no problem (CPU usage and load is incre

Re: [libvirt-users] Doc/web site problems

2013-11-13 Thread Eric Blake
On 11/13/2013 08:44 AM, Greg Ward wrote: > > > On Mon, Nov 11, 2013, at 07:17 PM, Eric Blake wrote: >> On 11/11/2013 05:04 PM, Greg Ward wrote: >>> 2) In the FAQ, under "networking is unavailable in virt-manager / virsh >>> - libvirt's default network fails to start", it says "Here is a list of >

Re: [libvirt-users] Doc/web site problems

2013-11-13 Thread Greg Ward
On Mon, Nov 11, 2013, at 07:17 PM, Eric Blake wrote: > On 11/11/2013 05:04 PM, Greg Ward wrote: > > 2) In the FAQ, under "networking is unavailable in virt-manager / virsh > > - libvirt's default network fails to start", it says "Here is a list of > > the networking-related packages that need to

Re: [libvirt-users] Lots of threads and increased IO load

2013-11-13 Thread Eric Blake
On 11/13/2013 08:31 AM, Gergely Horváth wrote: > The second problem came when I looked at `iotop`, to see how much IO > read and write is going on. The computer, that was doing the copying > easily had like 20-30 threads writing pieces to the disk. Some of the > threads are obviously "processor emu

[libvirt-users] Lots of threads and increased IO load

2013-11-13 Thread Gergely Horváth
Hello guys, We have a lot of small computers on top of two servers running QEMU/KVM virtualisation with libvirt. In this case, most of the VMs are not doing much work, some of them barely touches any "hardware" resources. I have two problems, they might be connected. When I do a bigger IO job on

Re: [libvirt-users] Problem with bridged network configuration

2013-11-13 Thread Bob
Caveat: I apologize in advance for the ranting tone of this mail, but I have been burned too many times and wasted too much time on this feature. I can no longer discuss this feature with the degree of objectivity that would be desired. The executive summary is that the libvirt documentation w

Re: [libvirt-users] Problem with bridged network configuration

2013-11-13 Thread Laine Stump
On 11/12/2013 06:52 PM, Bob Doolittle wrote: > For the record - I figured this out so am sharing the result for > posterity: > > The issue was that I didn't follow the instructions literally. Since, > once booted, my primary NIC name was "em1" I assumed I had to create > an initscript called ifcfg-