<div dir="ltr"><div><div><div><div><font size="4">Hi Parthi<br><br></font></div><font size="4">I have confirmed on the destination node i.e( newer compute node on which the instance is migrated ) by using sudo virsh list and the instance is being reflected</font><font size="4"><font size="4"> </font>there.<br>
</font></div></div><font size="4"><br>Moreover on the source node the sudo virsh list command reflects nothing.<br></font></div><div><font size="4">Also I'll try with <span style="font-family:"Calibri","sans-serif"">libvirt 1.x and let you know the result.<br>
</span></font></div><div><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="color:rgb(0,0,0)"><font size="4"><br>I'll also try to send you the libvirt logs whenever i try <font size="4">the setup</font> again</font></span>.<br>
<span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><font size="4"><span style="color:rgb(0,0,0)">Thanks</span></font><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 5:14 PM, Parthipan, Loganathan <span dir="ltr"><<a href="mailto:parthipan@hp.com" target="_blank">parthipan@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Abhishek,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did you check on the source node whether the instance is still running or even defined (virsh list –all). This is because nova notices that the migration is
completed when the VM in the source is gone and then triggers the post-migration.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">IIRC, there’s a bug in 0.x libvirt where the destination qemu disconnection is not picked up by the source libvirt, causing nova migration thread to wait. I
don’t know if libvirt 1.x works with nova properly yet.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">~parthi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> abhishek jain [mailto:<a href="mailto:ashujain9727@gmail.com" target="_blank">ashujain9727@gmail.com</a>]
<br>
<b>Sent:</b> 02 April 2014 12:28</span></p><div><div class="h5"><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Nova Live Migration issue<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt">Thanks Nikolay and Parthipan</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt"><br>
I have confirmed that the instance is running on the newer compute node by using sudo virsh list command.</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">I'm using below libvirt version ..<br>
<br>
libvirtd (libvirt) 0.9.8</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt">Actually I will not be able to present the libvirt logs due to setup problem.I'll send logs as soon as possible.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt">Please let me know if any thing needs to be taken care in libvirt during the configuration</span><u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Apr 2, 2014 at 3:00 PM, Parthipan, Loganathan <<a href="mailto:parthipan@hp.com" target="_blank">parthipan@hp.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Can you confirm that it’s no longer running on the source node and only running on the destination
node?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What’s your libvirt version?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Possibly the libvirt monitor lost connection and didn’t complete the post-migration which would update
the db. As Nikolay suggested, the libvirt.log would tell more, good if it also had debug turned on.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nikolay Starodubtsev [mailto:<a href="mailto:nstarodubtsev@mirantis.com" target="_blank">nstarodubtsev@mirantis.com</a>]
<br>
<b>Sent:</b> 02 April 2014 09:01<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Nova Live Migration issue</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hi!<br>
Can you show libvirt logs?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><b><u><span style="font-family:"Helvetica","sans-serif";color:#222222"> </span></u></b><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"Helvetica","sans-serif";color:#222222">Nikolay Starodubtsev</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"Helvetica","sans-serif";color:#222222">Software Engineer</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"Helvetica","sans-serif";color:#222222">Mirantis Inc.</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"Helvetica","sans-serif";color:#222222"> </span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"Helvetica","sans-serif";color:#222222">Skype: dark_harlequi</span><span style="font-family:"Helvetica","sans-serif";color:#888888">ne1</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<div>
<p class="MsoNormal">2014-04-02 11:55 GMT+04:00 abhishek jain <<a href="mailto:ashujain9727@gmail.com" target="_blank">ashujain9727@gmail.com</a>>:<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">Hi all</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">I'm following the below link for VM migration from one compute node to the another from the controller node using devstack ..<br>
<br>
<span style="color:#cc0000"><a href="http://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage/" target="_blank">http://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage/</a></span></span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">I'm able to migrate the instance from one compute node to the other compute node using the below command.<br>
<br>
nova live-migration b33b23f8-4510-4ed3-8cd1-2d68c8186e40 salaria1</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt">The instance is able to migrate properly and that i have confirmed using the sudo virsh list command over the newer compute node.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt"><br>
However the problem is when i type nova list at the same time.The status of instance is stuck at migrating and does not changes even after some time.</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">Moreover when i type nova show <instance -id> command,the old host of the instance is reflected instead of the new one.</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">Please help regarding this.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt">Thanks</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt;color:#888888">Abhishek Jain</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>