Re: LIBVIRT migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4 -name scompi1 -uuid 355123af-b683-9fa6-ca31-10506c9ab9da -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/scompi1.monitor,server,nowait -monitor chardev:monitor -boot c -drive file=/home/radic/mvdata/imagenes/scompi1.img,if=ide,index=0,boot=on,format=raw -drive if=ide,media=cdrom,index=2,format=raw -net nic,macaddr=52:54:00:05:d1:2a,vlan=0,model=virtio,name=virtio.0 -net tap,fd=32,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus -incoming tcp:0.0.0.0:49163
char device redirected to /dev/pts/1
pci_add_option_rom: failed to find romfile "pxe-virtio.bin"

At one forum I've read that it can be solved installing the package kvm-pxe. It's ok?
Thank you very much.

Marcela.

2011/4/1 Daniel P. Berrange <berrange@xxxxxxxxxx>
On Fri, Apr 01, 2011 at 02:28:36PM +0200, jurgen.depicker@xxxxxx wrote:
> > From: Marcela Castro León <mcastrol@xxxxxxxxx>
> > To: libvirt-users@xxxxxxxxxx
> > Date: 01/04/2011 13:11
> > Subject: LIBVIRT migration
> > Sent by: libvirt-users-bounces@xxxxxxxxxx
> >
> > 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://rionegro/system
> >
> > I got:
> > error: monitor socket did not show up.: Connection refused
>
> Please check that you used ssh-copy-id to copy your ssh key (the user you
> are logged in with when entering virsh) to the destination host's root
> account.

This error message shows that libvirt did *not* have any trouble
actually connecting to libvirtd on the dest host.

It actually means that QEMU on the target host failed to startup.
You should check /var/log/libvirt/qemu/scompi1.log for any
further details as to why it failed to start.


Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux