[libvirt-users] Migration error

zorgman zorg at probesys.com
Fri Feb 26 13:34:37 UTC 2010


zorgman a écrit :
> Hi,
>
> I'm trying to migrate a VM from one libvirt 0.7.6-1 (qemu-kvm 
> 0.11.1+dfsg-1) to another libvirt 0.7.6-2 (qemu-kvm 0.11.1+dfsg-1) 
> connected with SSH , i have followed pre requite (same shared, same 
> path, same network conf ...) . But when i migrate , i have following 
> error : operation failed:
>
> /migration to 'tcp:x.x.x.x:49157' failed: migration failed
> DETAIL :
>
> Unable to migrate guest:
> Traceback (most recent call last):
>  File "/usr/share/virt-manager/virtManager/migrate.py", line 457, in 
> _async_migrate
>    vm.migrate(dstconn, migrate_uri, rate, live, secure)
>  File "/usr/share/virt-manager/virtManager/domain.py", line 1272, in 
> migrate
>    self._backend.migrate(destconn.vmm, flags, newname, interface, rate)
>  File "/usr/lib/python2.5/site-packages/libvirt.py", line 429, in migrate
>    if ret is None:raise libvirtError('virDomainMigrate() failed', 
> dom=self)
> libvirtError: operation failed: migration to 
> 'tcp:portable.artis.int:49157' failed: migration failed
>
>
> /on the destination libvirt i can see in syslog :
>
> /Feb 26 11:16:25 portable libvirtd: 11:16:25.281: error : 
> qemudDomainGetInfo:3744 : Domain not found: no domain with matching 
> uuid '71c22b3b-4c93-80bd-8387-2b502887c2aa'
> Feb 26 11:16:25 portable libvirtd: 11:16:25.283: error : 
> qemudDomainGetInfo:3744 : Domain not found: no domain with matching 
> uuid '71c22b3b-4c93-80bd-8387-2b502887c2aa'
>
>
>
> Feb 26 11:16:25 portable kernel: [ 3022.213730] virbr0: port 1(vnet0) 
> entering disabled state
> Feb 26 11:16:25 portable kernel: [ 3022.228917] device vnet0 left 
> promiscuous mode
> Feb 26 11:16:25 portable kernel: [ 3022.228925] virbr0: port 1(vnet0) 
> entering disabled state
> Feb 26 11:16:25 portable NetworkManager:    SCPlugin-Ifupdown: devices 
> removed (path: /sys/devices/virtual/net/vnet0, iface: vnet0)
> Feb 26 11:17:01 portable /USR/SBIN/CRON[2606]: (root) CMD (   cd / && 
> run-parts --report /etc/cron.hourly)
> Feb 26 11:24:47 portable NetworkManager: <WARN>  nm_signal_handler(): 
> Caught signal 15, shutting down normally.
> Feb 26 11:24:47 portable NetworkManager: <info>  (wlan0): taking down 
> device.
> Feb 26 11:24:47 portable NetworkManager: <info>  exiting (success)
>
> /in the destination libvirt vm log i can see the cmd running by 
> migration:
>
> /LC_ALL=C 
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 
> HOME=/ QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.11 -enable-kvm -m 
> 256 -smp 1 -name testmigration -uuid 
> 71c22b3b-4c93-80bd-8387-2b502887c2aa -monitor 
> unix:/var/lib/libvirt/qemu/testmigration.monitor,server,nowait -boot c 
> -drive file=/mnt/testmigration.img,if=virtio,boot=on,format=qcow2 
> -drive if=ide,media=cdrom,bus=1,unit=0,format=raw -net 
> nic,macaddr=52:54:00:7a:a4:98,vlan=0,model=virtio,name=net0 -net 
> tap,fd=50,vlan=0,name=hostnet0 -serial pty -parallel none -usb -vnc 
> 127.0.0.1:0 -k fr -vga cirrus -incoming tcp:0.0.0.0:49156 -balloon 
> virtio/
>
>
>
> I'm using Debian.
>
> The problem occure online as offline mod.
>
>
>
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
i have forgotten, after migrate has failed, my guest has some IO error 
and remount my system in read only.




More information about the libvirt-users mailing list