I had two versions of nova installed at the same time, and of course the wrong one was used. So after removing the error is gone.<div><br></div><div>But I found that nova/virt/libvirt/drivery.py was complaining about tempfile module for _create_shared_storage_test_file(), not sure if that's a bug, but after adding 'import tempfile' it was fixed. </div>
<div><br></div><div>And I got live migration working :).</div><div><br></div><div>Thanks.<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 2:08 PM, John Garbutt <span dir="ltr"><<a href="mailto:John.Garbutt@citrix.com" target="_blank">John.Garbutt@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The changes merged together.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It sounds like one of the compute nodes is running older code.<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">Hope that helps,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">John<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:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><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""> Jānis Ģeņģeris [mailto:<a href="mailto:janis.gengeris@gmail.com" target="_blank">janis.gengeris@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, July 24, 2012 8:56 PM<br><b>To:</b> Russell Bryant<br><b>Cc:</b> OpenStack Development Mailing List; John Garbutt; <a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a><br>
<b>Subject:</b> Re: [openstack-dev] [Openstack-operators] live migration and unsupported rpc version<u></u><u></u></span></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
So that means I need to check for another PPA nova build, when the changes will be merged in compute part?<u></u><u></u></p><div><p class="MsoNormal">On Tue, Jul 24, 2012 at 10:52 PM, Russell Bryant <<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>> wrote:<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt">On 07/24/2012 11:51 AM, John Garbutt wrote:<br>> Hi,<br>><br>> I recently pushed a changed to live-migration here:<br>> <a href="https://review.openstack.org/#/c/8329/" target="_blank">https://review.openstack.org/#/c/8329/</a><br>
><br>> Is it possible you have some parts of your system have not been updated? Maybe you have a new scheduler but an old compute node?<br>><br>> The default version is correctly 1.0. But the new live-migraiton changes mean that your compute/manager.py must be at version 1.2 in order to perform the migration.<br>
><br>> I am fairly sure it worked when I tested it, but I may have missed something …<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">I just took another look at those changes and they look correct. It<br>
appears that the version handling is working as expected and it's just a<br>compute node that hasn't been updated.<br><span style="color:#888888"><br><br><span>--</span><br><span>Russell Bryant</span><br><br></span><u></u><u></u></p>
</div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <br>--janis<u></u><u></u></p></div></div></div></div></div></blockquote></div><br>
<br clear="all"><div><br></div>-- <br>--janis<br>
</div>