[one-users] Live migrate error, disk.0 does not exists at destination

Jaime Melis jmelis at opennebula.org
Wed Aug 14 05:46:47 PDT 2013


Hi Nicolas,

it's more or less explicitely stated by this section:
http://opennebula.org/documentation:rel4.2:system_ds#host_configuration

cheers,
Jaime


On Wed, Aug 14, 2013 at 7:54 AM, Nicolas Bélan <nicolas.belan at gmail.com>wrote:

>  Hum, that's not very clear in the doc.
> I though that DS 0 was local to all ALL hypervisors ...
>
> Thank you
>
> Le 14/08/13 13:51, Jaime Melis a écrit :
>
> Hi Nicolas,
>
>  /var/lib/one/datastores/0 should be shared (using NFS for example)
> across all the hosts.
>
>  regards,
> Jaime
>
>
> On Mon, Aug 12, 2013 at 7:40 AM, Nicolas Bélan <nicolas.belan at gmail.com>wrote:
>
>>  Hello the list,
>>
>> I am using OpenNebula 4.2 with a shared (qcow2) storage + kvm.
>> I am trying to livre migrate a vm from hostA to hostB.
>> It fails with the following message:
>>
>> Mon Aug 12 13:30:57 2013 [DiM][D]: Live-migrating VM 45
>> Mon Aug 12 13:30:57 2013 [ReM][D]: Req:656 UID:0 VirtualMachineMigrate
>> result SUCCESS, 45
>> Mon Aug 12 13:30:57 2013 [ReM][D]: Req:5920 UID:0 VirtualMachineInfo
>> invoked, 45
>> Mon Aug 12 13:30:57 2013 [ReM][D]: Req:5920 UID:0 VirtualMachineInfo
>> result SUCCESS, "<VM><ID>45</ID><UID>..."
>> Mon Aug 12 13:30:57 2013 [VMM][D]: Message received: LOG I 45
>> Successfully execute transfer manager driver operation: tm_premigrate.
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45 ExitCode: 0
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45
>> Successfully execute network driver operation: pre.
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45 Command
>> execution fail: /var/tmp/one/vmm/kvm/migrate 'one-45' 'hostB' 'hostA' 45
>> hostB
>>
>> *Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG E 45 migrate:
>> Command "virsh --connect qemu:///system migrate --live one-45
>> qemu+ssh://hostB/system" failed: error: cannot open file
>> '/var/lib/one//datastores/0/45/disk.0': Aucun fichier ou dossier de ce type
>> * (tra: No such file or directory)
>>
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG E 45 Could not
>> migrate one-45 to hostB
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45 ExitCode: 1
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45 Failed to
>> execute virtualization driver operation: migrate.
>> Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: MIGRATE FAILURE 45
>> Could not migrate one-45 to hostB
>>
>> As I understand, using a shared datastore, One create a symlink to the
>> real shared DS into the DS 0 (for system images).
>> But, It seems that on target hostB, the symlink is not created before
>> migration....
>> Am I missing something ?
>>
>> Thank you
>>
>> Best regards,
>> Nicolas.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
>  --
> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
> September, 2013
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jmelis at opennebula.org
>
>
>


-- 
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130814/20766992/attachment-0002.htm>


More information about the Users mailing list