[one-users] cannot migrate virtual machines in one 3.4

Ruben S. Montero rsmontero at opennebula.org
Tue Apr 24 08:17:02 PDT 2012


Hi,

Yes this may be the problem. Clould you check the output of
onedatastore show 0 (and 1). The TM_MAD associated with the datastore
should be ssh. If not, could you try to update it (onedatastore
update). There should not be any "shared" keyword as you suggest.

Note that the changes on the datastore (i.e. the actual TM used) are
only reflected on new VMs. VMs created before the changes will use the
original TM_MAD values...

Cheers

Ruben

On Tue, Apr 24, 2012 at 5:07 PM, Carlos A. <caralla at upv.es> wrote:
> Hello,
>
> I am upgrading my ONE 3.2 deployment to ONE 3.4 but I have one problem with
> migration of VM between nodes (not live migration).
>
> When using ONE 3.2 migration was fine, but now migration fails and I cannot
> find how to solve this problem.
>
> I have the default datastore, that it is a "filesystem" based on ssh tm_mad
> (and the system datastore "0").
>
> When I migrate the VM, I find the next vm.log fragment:
> ------------------------------------------------
> Tue Apr 24 16:53:51 2012 [LCM][I]: New VM state is SAVE_MIGRATE
> Tue Apr 24 16:53:54 2012 [VMM][I]: ExitCode: 0
> Tue Apr 24 16:53:54 2012 [VMM][I]: Successfully execute virtualization
> driver operation: save.
> Tue Apr 24 16:53:54 2012 [VMM][I]: ExitCode: 0
> Tue Apr 24 16:53:54 2012 [VMM][I]: Successfully execute network driver
> operation: clean.
> Tue Apr 24 16:53:54 2012 [LCM][I]: New VM state is PROLOG_MIGRATE
> Tue Apr 24 16:53:55 2012 [TM][I]: ExitCode: 0
> Tue Apr 24 16:53:55 2012 [TM][I]: ExitCode: 0
> Tue Apr 24 16:53:55 2012 [LCM][I]: New VM state is BOOT
> Tue Apr 24 16:53:55 2012 [VMM][I]: ExitCode: 0
> Tue Apr 24 16:53:55 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Apr 24 16:53:55 2012 [VMM][I]: Command execution fail:
> /var/tmp/one/vmm/kvm/restore
> /srv/cloud/one/var//datastores/0/2984/checkpoint dellblade03 2984
> dellblade03
> ------------------------------------------------
>
> And the next transfer.1.migrate file appears
> ------------------------------------------------
> MV ssh dellblade01:/srv/cloud/one/var//datastores/0/2984/disk.0
> dellblade03:/srv/cloud/one/var//datastores/0/2984/disk.0
> MV shared dellblade01:/srv/cloud/one/var//datastores/0/2984
> dellblade03:/srv/cloud/one/var//datastores/0/2984
> ------------------------------------------------
>
> The problem is that the disk.0 file is not transfered to dellblade03. It
> seems that the phase of executing the transference of files is omited.
>
> Moreover the "shared" keyword appears while there is not any shared file
> system (but the system one that should not be considered when moving from
> one host to another). But also the checkpointing file is not moved.
>
> Note: migration from one host to the same host works (as expected). So virsh
> is able to restore the state of a saved VM.
>
> Any idea on this?
>
> Thank you in advance.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula



More information about the Users mailing list