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

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

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
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: virsh # migrate scompi1 qemu+ssh://rionegro/system error: Unknown failure I'

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
Hello Daniel: In the log I found that libvirt coudn't find image file. I solved that, but know I've got: *virsh # migrate scompi1 qemu+ssh://rionegro/system error: Unknown failure * The log on target (rionegro:/var/log/libvirt/qemu/scompi1.log) say: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/us

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 > > > > Hello > > I''m developing a system

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Marcela Castro León
Hello I've put the root-key on the authorized_key file of all the host, and reboot the cluster, but I've got the same error with the two opcion (virt-manager and virsh). I think that is sth related to the authorization on the libvirtd.conf. This is my conf at all the hosts (see libvirtd.conf attach

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" > to move guest to different hosts. > I'm te