Re: [virt-tools-list] C'ant migrate with virt-manager or virsh

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

 



On 03/14/2013 03:17 AM, Digvijay wrote:
> [root@node0 ~]# virsh migrate --live try1 qemu+ssh://root@100.100.102.106/system
> --unsafe
> root@100.100.102.106's password: 
> error: operation failed: migration job: unexpectedly failed
> error: Reconnected to the hypervisor
> 

CC-ing libvirt-users

I think that virsh command should work. Look at
/var/log/libvirt/qemu/$vmname.log on both the source host and the destination
host.

> 
> I tried to run the migration but it is not doing profitably.I also used virtual
> machine manager but it is giving me " unsafe operation"
> 
> Unable to migrate guest: Unsafe migration: Migration may lead to data corruption
> if disks use cache != none
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/migrate.py", line 553, in _async_migrate
>     vm.migrate(dstconn, migrate_uri, rate, live, secure, meter=meter)
>   File "/usr/share/virt-manager/virtManager/domain.py", line 1163, in migrate
>     self._backend.migrate(destconn.vmm, flags, newname, interface, rate)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 822, in migrate
>     if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)
> libvirtError: Unsafe migration: Migration may lead to data corruption if disks
> use cache != none

Like the error says, your disks need to have cache=None or libvirt won't allow
the migration. You can change that setting per disk in the VM details UI in
virt-manager.

- Cole

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


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

  Powered by Linux