Re: [libvirt-users] Strange libvirt exit status 1 (LXC containers)

2011-08-23 Thread Stephen Eilert
Again, replying to myself. It seems that my assessment that app armor wasn't interfering was mistaken. Found it in the logs: Aug 23 22:55:44 pea kernel: [17442.226663] type=1400 audit(1314150944.573:64): a pparmor="DENIED" operation="exec" parent=10501 profile="/usr/sbin/libvirtd" name ="/usr/li

Re: [libvirt-users] Strange libvirt exit status 1 (LXC containers)

2011-08-23 Thread Stephen Eilert
Answering myself. I've enabled as much logging as possible, and asked libvirt to log lxc. This is the result: 2011-08-23 22:19:08.778: starting up PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin LIBVIRT_DEBUG=1 LIBVIRT_LOG_OUTPUTS=1:syslog:libvirtd /usr/libexec/l

[libvirt-users] Strange libvirt exit status 1 (LXC containers)

2011-08-23 Thread Stephen Eilert
Hello, I've encountered the following error, trying to start a domain: error: internal error Child process (PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin LIBVIRT_DEBUG=2 LIBVIRT_LOG_OUTPUTS=2:syslog:libvirtd /usr/libexec/libvirt_lxc --name vm_14 --console 18

Re: [libvirt-users] migration in parallel

2011-08-23 Thread Dave Allan
On Tue, Aug 23, 2011 at 01:50:58PM -0700, Yih-Herng Chuang wrote: > > Hi Dave, > > The version we have is libvirt-0.8.1-27.el6.x86_64. There were a bunch of migration fixes around commit id f9a837da which would be in 0.9.4, so much newer than what you have, but specifically what errors are you s

Re: [libvirt-users] migration in parallel

2011-08-23 Thread Yih-Herng Chuang
Hi Dave, The version we have is libvirt-0.8.1-27.el6.x86_64. Regards, --Yih Yih-Herng Chuang IBM Center for Microsoft Technologies 3600 Carillon Point, Kirkland WA 98033 (DID) (425) 803-7285 (TIE) 977-7285 yihhe...@us.ibm.com From: Dave Allan To: Yih-Herng Chuang/Seattle/IBM@IBMUS Cc

Re: [libvirt-users] migration in parallel

2011-08-23 Thread Dave Allan
On Tue, Aug 23, 2011 at 11:50:00AM -0700, Yih-Herng Chuang wrote: > > Hi, > > We ran into various errors when tried to run migration in parallel. Does > libvirt support migration in parallel? What version of libvirt? There were some problems with parallel migration in the past, but they have a

Re: [libvirt-users] libvirt ruby binding with vmware

2011-08-23 Thread Matthias Bolte
2011/8/23 Ohad Levy : > Hi, > I've been trying to use the ruby libvirt binding with vmware esx on F15, > however it doesnt seems to work, I get: > Libvirt::ConnectionError: Call to virConnectOpen failed: Cannot access CA > certificate '/etc/pki/CA/cacert.pem': No such file or directory > I've using

[libvirt-users] libvirt ruby binding with vmware

2011-08-23 Thread Ohad Levy
Hi, I've been trying to use the ruby libvirt binding with vmware esx on F15, however it doesnt seems to work, I get: Libvirt::ConnectionError: Call to virConnectOpen failed: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory I've using the same uri with virsh and it

[libvirt-users] migration in parallel

2011-08-23 Thread Yih-Herng Chuang
Hi, We ran into various errors when tried to run migration in parallel. Does libvirt support migration in parallel? Regards, --Yih Yih-Herng Chuang IBM Center for Microsoft Technologies 3600 Carillon Point, Kirkland WA 98033 (DID) (425) 803-7285 (TIE) 977-7285 yihhe...@us.ibm.com_

Re: [libvirt-users] Problem to migrate virtual machine between two hosts with same uuid

2011-08-23 Thread Umberto Carrara
Il martedì 23 agosto 2011 13:18:33 Daniel P. Berrange ha scritto: > > > > The problem seems to be the same uuid on both hosts, > > > > 1) is correct? > > Yes, your hardware vendor is being very very bad :-( > > > 2) if is correct, how I can resolve? > > You could complain to the hardware vendor, b

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:49:41PM +0300, David Cohen wrote: > Hi, > > > The xml file used to create the pool : > > > guest_images_disk > > > > > > /dev > > Ok, it is a disk partition based pool. It appears that our parted code is assuming 512 byte sectors as you thought. I reckon that

Re: [libvirt-users] Problem to migrate virtual machine between two hosts with same uuid

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 08:12:46AM -0600, Eric Blake wrote: > On 08/23/2011 05:18 AM, Daniel P. Berrange wrote: > >> 00010203-0405-0607-0809-0A0B0C0D0E0F > > >Yes, your hardware vendor is being very very bad :-( > > >So, libvirtd provides a way to override the default host UUID, > >by setting

Re: [libvirt-users] Problem to migrate virtual machine between two hosts with same uuid

2011-08-23 Thread Eric Blake
On 08/23/2011 05:18 AM, Daniel P. Berrange wrote: 00010203-0405-0607-0809-0A0B0C0D0E0F Yes, your hardware vendor is being very very bad :-( So, libvirtd provides a way to override the default host UUID, by setting 'host_uuid' in /etc/libvirt/libvirtd.conf, which should make the migrati

Re: [libvirt-users] Problem to migrate virtual machine between two hosts with same uuid

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 01:08:29PM +0200, i...@umbertocarrara.it wrote: > hi at all, > i'm trying to migrate a vm between two host but fails, this is what > I did: > > virsh # start win2008 > Domain win2008 started > > virsh # list > Id Name State > --

[libvirt-users] Problem to migrate virtual machine between two hosts with same uuid

2011-08-23 Thread info
hi at all, i'm trying to migrate a vm between two host but fails, this is what I did: virsh # start win2008 Domain win2008 started virsh # list Id Name State -- 1 win2008 running virsh # migrate --live win2008 qemu+ssh://host2/syste

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread David Cohen
Hi, The xml file used to create the pool : guest_images_disk /dev virsh pool-dumpxml guest_images_disk guest_images_disk 30247222-c1fb-8749-b833-a73782198d26 274877904384 127997440 274749903872 /dev 0700 -1 -1

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 08:52:56AM +0300, David Cohen wrote: > Hi, > When creating a dedicated storage pool on a FC attached storage with sector > size of 4096B and size of 2TB, the storage pool is created but reported as > 1/8 > of it's size, the same follows for any volume created in the same