Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Eric Blake
[please don't top-post on technical lists] On 01/31/2012 02:47 AM, Daniel Espling wrote: > Sorry for the spamming, but changing the below code: > > if (cloexec) > fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); > else > fd = dup(sock->fd); > > to: > > fd = dup(sock->fd); > if (cloe

Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Daniel Espling
Sorry for the spamming, but changing the below code: if (cloexec) fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); else fd = dup(sock->fd); to: fd = dup(sock->fd); if (cloexec && fd >= 0) cntl(fd, F_SETFD, FD_CLOEXEC); made it work for me. //Daniel On Jan 31, 2012, at 10:

Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Daniel Espling
Hi again, I spent some time trying to debug this: added some printouts and noticed that the virNetSocketDupFD() function is called with cloexec = True, hence triggering the call: fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); However, running on CentOS 5.5 our glibc version is glibc-2.5-49.el5_5.5, a

[libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-30 Thread Daniel Espling
Dear all, we're having two different problems with migrations in libvirt, running as root user on host machines with CentOS release 5.5 (Final), kernel: Linux 2.6.32.24 #3 SMP Fri Oct 29 16:22:02 BST 2010 x86_64 x86_64 x86_64 GNU/Linux First case: virsh version Compiled against library: libvir

[libvirt-users] Libvirt migration with Xen 4.1.1

2011-09-07 Thread Rogério Vinhal Nunes
Hello, I am trying to migrate a virtual machine between two xen 4.1.1 hosts using libvirt, but as I use this command: virsh migrate --live vm102 xen+ssh://10.0.254.8 The following error happens: error: POST operation failed: xend_post: error from xen daemon: (xend.err "can't connect: [Errno -2]

Re: [libvirt-users] LIBVIRT migration

2011-04-04 Thread Francesc Guasch
Al 01/04/11 22:29, En/na Marcela Castro León ha escrit: Hello: I've installed the package kvm-pxe on target host, and the error /*pci_add_option_rom: failed to find romfile "pxe-virtio.bin" */dissappeared from the log, but the migrate still doesn't work, and it continue saying: Hi, try installi

[libvirt-users] LIBVIRT migration

2011-04-04 Thread Marcela Castro León
Hello I'm having problem using migration. I'm working on ubuntu 10.4 and this versions of libvirt and virsh: virsh # version Compiled against library: libvir 0.7.5 Using library: libvir 0.7.5 Using API: QEMU 0.7.5 Running hypervisor: QEMU 0.12.3 This is the error. *virsh # migrate scompi1 qemu+ssh

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
, Apr 01, 2011 at 02:28:36PM +0200, jurgen.depic...@let.be wrote: >> > > From: Marcela Castro León >> > > To: libvirt-users@redhat.com >> > > Date: 01/04/2011 13:11 >> > > Subject: [libvirt-users] LIBVIRT migration >> > > Sent by: libvi

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
. 2011/4/1 Daniel P. Berrange > On Fri, Apr 01, 2011 at 02:28:36PM +0200, jurgen.depic...@let.be wrote: > > > From: Marcela Castro León > > > To: libvirt-users@redhat.com > > > Date: 01/04/2011 13:11 > > > Subject: [libvirt-users] LIBVIRT migration > &g

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Daniel P. Berrange
On Fri, Apr 01, 2011 at 02:28:36PM +0200, jurgen.depic...@let.be wrote: > > From: Marcela Castro León > > To: libvirt-users@redhat.com > > Date: 01/04/2011 13:11 > > Subject: [libvirt-users] LIBVIRT migration > > Sent by: libvirt-users-boun...@redhat.com > &

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
27;virDomainMigrate() failed', dom=self) libvirtError: monitor socket did not show up.: Connection refused* VIRSH *virsh # migrate --live scompi1 qemu+ssh://rionegro/system* *error: monitor socket did not show up.: Connection refused* 2011/4/1 > > > From: Marcela Castro León > &g

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread jurgen . depicker
> From: Marcela Castro León > To: libvirt-users@redhat.com > Date: 01/04/2011 13:11 > Subject: [libvirt-users] LIBVIRT migration > Sent by: libvirt-users-boun...@redhat.com > > Hello > I''m developing a system using libvirt and I need to use "migrate"

[libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
Hello I''m developing a system using libvirt and I need to use "migrate" to move guest to different hosts. I'm testing using a cluster connected by ssh, and I'm connect ok trought them, using virsh and virt-manager. But if I try to migrate doing: *virsh # migrate --live scompi1 qemu+ssh://rionegr