<div dir="ltr">Hi Nicolas,<div><br></div><div>/var/lib/one/datastores/0 should be shared (using NFS for example) across all the hosts.</div><div><br></div><div>regards,<br>Jaime</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Aug 12, 2013 at 7:40 AM, Nicolas Bélan <span dir="ltr"><<a href="mailto:nicolas.belan@gmail.com" target="_blank">nicolas.belan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello the list,<br>
<br>
I am using OpenNebula 4.2 with a shared (qcow2) storage + kvm.<br>
I am trying to livre migrate a vm from hostA to hostB.<br>
It fails with the following message:<br>
<br>
Mon Aug 12 13:30:57 2013 [DiM][D]: Live-migrating VM 45<br>
Mon Aug 12 13:30:57 2013 [ReM][D]: Req:656 UID:0
VirtualMachineMigrate result SUCCESS, 45<br>
Mon Aug 12 13:30:57 2013 [ReM][D]: Req:5920 UID:0 VirtualMachineInfo
invoked, 45<br>
Mon Aug 12 13:30:57 2013 [ReM][D]: Req:5920 UID:0 VirtualMachineInfo
result SUCCESS, "<VM><ID>45</ID><UID>..."<br>
Mon Aug 12 13:30:57 2013 [VMM][D]: Message received: LOG I 45
Successfully execute transfer manager driver operation:
tm_premigrate.<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45
ExitCode: 0<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45
Successfully execute network driver operation: pre.<br>
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<br>
<br>
<b>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</b> (tra: No such file or directory)<br>
<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG E 45 Could
not migrate one-45 to hostB<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45
ExitCode: 1<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: LOG I 45 Failed
to execute virtualization driver operation: migrate.<br>
Mon Aug 12 13:30:58 2013 [VMM][D]: Message received: MIGRATE FAILURE
45 Could not migrate one-45 to hostB<br>
<br>
As I understand, using a shared datastore, One create a symlink to
the real shared DS into the DS 0 (for system images).<br>
But, It seems that on target hostB, the symlink is not created
before migration....<br>
Am I missing something ?<br>
<br>
Thank you<br>
<br>
Best regards,<br>
Nicolas.<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Join us at <a href="http://opennebulaconf.com/" style="color:rgb(17,85,204)" target="_blank">OpenNebulaConf2013</a> in Berlin, <span><span>24-26 September, 2013</span></span><br>
--<div>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>
</div>
</div>