[one-users] Opennebula livemigrate

Javier Fontan jfontan at fdi.ucm.es
Thu Jun 4 09:39:29 PDT 2009


Hello Fermin,

Seems that there is some problem at libvirt/kvm level. Can you check  
log files stores in /var/log/libvirt in the node that was executing  
the VM for some problem? Check also log files in the machine that was  
going to receive the VM.

Another test you can do is executing the migration by hand using virsh  
commands to check if something is broken.

Bye

On Jun 4, 2009, at 5:14 PM, Fermín Manzanedo Guzmán wrote:

> Hi all.
>
> We're trying to implement the livemigrate feature in our ONE cluster  
> but
> don't know why it doesn't works properly:
>
> Like readed in
> https://bugs.launchpad.net/ubuntu/+source/opennebula/+bug/323359  
> ubuntu
> use qemu+ssh for livemigrate and since 2009-02-04, opennebula use  
> it. We
> have a previous version (1.2.0) but in an attempt to solve this,  
> change
> the line
>
> std_action("MIGRATE", "migrate --live #{args[3]}
> qemu+tcp://#{args[4]}/session", args)
>
> to
>
> std_action("MIGRATE", "migrate --live #{args[3]}
> qemu+ssh://#{args[4]}/session", args)
>
> And restart opennebula... But still doesn't work properly.
>
> When try to perform a live migration, we receive this:
>
> Thu Jun  4 17:07:58 2009 [ReM][D]: VirtualMachineMigrate invoked
> Thu Jun  4 17:07:58 2009 [DiM][D]: Live-migrating VM 61
> Thu Jun  4 17:08:00 2009 [VMM][D]: Message received: LOG - 61  
> Connecting
> to uri: qemu:///system
> Thu Jun  4 17:08:00 2009 [VMM][D]: Message received: LOG - 61 error:
> Unknown failure
> Thu Jun  4 17:08:00 2009 [VMM][D]: Message received: LOG - 61  
> ExitCode: 1
> Thu Jun  4 17:08:00 2009 [VMM][D]: Message received: MIGRATE FAILURE  
> 61
> Unknown failure
>
> In our libvirtd.conf we have this options enabled:
>
> listen_tls = 0
> listen_tcp = 1
> unix_sock_group = "libvirtd"
> unix_sock_rw_perms = "0770"
> auth_unix_ro = "none"
> auth_unix_rw = "none"
> log_level = 1
> log_outputs="3:syslog:libvirtd"
>
> May be we forgot any other option...
>
> Is there any way to implement livemigrate feature in ubuntu's  
> opennebula?
>
>
> Thanks in advance. Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list