Hello Shyam,<div><br></div><div>after studying this, we have realised it's indeed a bug. Thanks a lot for reporting it:</div><div><br></div><div><a href="http://dev.opennebula.org/issues/1423">http://dev.opennebula.org/issues/1423</a></div>
<div><br></div><div>Cheers,</div><div>Jaime<br><br><div class="gmail_quote">On Mon, Aug 20, 2012 at 10:39 AM, C S Shyam Sundar <span dir="ltr"><<a href="mailto:csshyamsundar@gmail.com" target="_blank">csshyamsundar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="courier new, monospace">Hi Jamie,</font><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">The libvirt version is: <i>libvirt-0.9.10-21.0.1.el6_3.3.x86_64. </i></font></div>
<div><font face="courier new, monospace">The OS is: CentOS 6.3. Issue is reproducible in other EL variants like Oracle Linux 6.3. </font></div><div><font face="courier new, monospace">ONe version is: 3.6.</font></div><div>
<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Note: adding -l migrate=migrate_local fails with the same error quoted in this thread. Attached the working oned.conf.</font></div>
<div><br></div><div><font face="courier new, monospace"><font></font></font><div><font face="courier new, monospace">Regards, Shyam.</font></div><font face="courier new, monospace"><br>
</font><div class="gmail_quote"><div><div class="h5"><font face="courier new, monospace">On Fri, Aug 17, 2012 at 12:19 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
</font></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><font face="courier new, monospace">Hello Shyam,</font><div><font face="courier new, monospace"><br>
</font></div>
<div><font face="courier new, monospace">thanks a lot for the feedback and for letting us know it's working again. I think this must be an issue of the libvirt version, and that the default configuration supplied with OpenNebula is not working out of the box for this OS version.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">We will make some tests and probably update the documentation.</font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace">By the way, would you mind sending us the libvirt version you're running.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Thanks again!</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">cheers,</font></div><div><font face="courier new, monospace">Jaime </font></div></div></div><div><div><div class="h5"><font face="courier new, monospace"><br>
</font><div class="gmail_quote"><div><div><font face="courier new, monospace">On Thu, Aug 16, 2012 at 9:41 PM, C S Shyam Sundar <span dir="ltr"><<a href="mailto:csshyamsundar@gmail.com" target="_blank">csshyamsundar@gmail.com</a>></span> wrote:<br>
</font></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><font face="courier new, monospace">Finally, got the live migration working.</font><div>
<font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">The changes made:</font></div><div><font face="courier new, monospace">>> Removed "-l migrate" from the parameters inside KVM's VM_MAD section of <i>oned.conf</i>. </font></div>
<div><font face="courier new, monospace">>> Added the "--unsafe" parameter inside the <i>migrate </i>script inside <i>ONE_HOME/remotes</i>.</font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace">Tested and found working in EL variants like CentOS and Oracle Linux.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><font></font></font><div><font face="courier new, monospace">Regards, Shyam</font></div><div><div>
<font face="courier new, monospace"><br>
</font><div class="gmail_quote"><font face="courier new, monospace">On Sat, Aug 11, 2012 at 5:32 PM, C S Shyam Sundar <span dir="ltr"><<a href="mailto:csshyamsundar@gmail.com" target="_blank">csshyamsundar@gmail.com</a>></span> wrote:<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="courier new, monospace">Hello,</font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace">I have a problem with getting Live Migration working. Cold Migration works.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">The Hypervisor is KVM on CentOS 6.3. I have one master node and two VMHosts: <i>oned</i>,<i> one1</i> and <i>one2</i>. The oned machine runs OpenNebula 3.6 on SQLite backend and sunstone. The same machine exposes <i>/var/lib/one</i> under NFS. one1 and one2 are hosts configured under oned and mounts /var/lib/one from NFS. The VMHosts, dummy network, filesystem are under the same cluster.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">I have attached the oned.conf, log snippets from oned.log when a cold migration occurs and when live migration occurs. The error is - " MIGRATE FAILURE 5 Network action pre needs a ssh stream."</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">What was tried:</font></div><div><font face="courier new, monospace">1) changed the options in kvm driver to -l migrate=migrate_local</font></div>
<div><font face="courier new, monospace">2) changed LIBVIRT_URI=qemu+ssh:///system in kvmrc ( on both /var/tmp/one on vmhosts and /var/lib/one in the master node ).</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">I'm stuck here and any help is appreciated.</font></div>
<div><font face="courier new, monospace"><br></font></div><font face="courier new, monospace">Regards, Shyam</font></blockquote></div></div></div></div></div></div></blockquote></div></div></div><span><font color="#888888" face="courier new, monospace">-- <br>
<div class="im">
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>
</font></span></div>
</blockquote></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>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><br>
</div>