<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>First, please don't use all caps in your subject. Second, please do use tags to indicate which projects your message relates to. In this case, that appears to be nova.</p>
<p>As far as the error, it looks like you may have some out of date code. The line referenced in the backtrace is now line 1049 in api.py, not 953. That suggests to me that there have been some pretty significant changes since whatever git revision you're currently using.</p>
<p>-Ben</p>
<p>On 2014-03-15 08:15, abhishek jain wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div><span style="font-size: large;">Hi all<br /><br /></span></div>
<span style="font-size: large;">I have installed openstack using devstack and nearly all the functionality is working fine.<br /></span></div>
<span style="font-size: large;">However I'm getting an issue during live migration .<br /></span></div>
<span style="font-size: large;">I'm creating a stack of one controller node and two compute nodes i.e Compute node 1 and compute node 2 .I'm booting one VM at compute node 1 and need to migrate it over compute node 2.<br /></span></div>
<span style="font-size: large;">For this I'm using NFS which is working fine.<br /></span></div>
<span style="font-size: large;"><br />A<span style="font-size: large;">l</span>so I have enabled live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE in /etc/nova.conf over both the compute nodes and over controller node.<br /><br /><br /></span></div>
<span style="font-size: large;">However when I apply nova live-migration command after restarting the nova-compute service using screen session the VM is not able to migrate.<br /><br /></span></div>
<span style="font-size: large;">Below are the logs after restarting nova-compute service ..<br /><br />16:33.500 2599 TRACE nova.openstack.common.rpc.amqp <br />2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.</span><span style="font-size: large;">amqp File "/opt/stack/nova/nova/network/neutronv2/api.py", line 953, in _nw_info_build_network<br /> 2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp label=network_name,<br />2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp <br /><span style="color: #cc0000;">2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp UnboundLocalError: local variable 'network_name' referenced before assignment</span><br /> 2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp <br />2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp <br /><br /> 10$(L) n-cpu* 11$(L) n-cond 12$(L) n-crt 13$(L) n-sch 14$(L) n-novnc 15$(L) n-xvnc 16$(L) n-cauth <br /><br /></span></div>
<span style="font-size: large;">Also find the attached screanshot describing the complete error.<br /></span>
<div><span style="font-size: large;">Please help regarding this.<br /><br /><br /><br /></span></div>
<div><span style="font-size: large;">Thanks<br /></span></div>
<div><span style="font-size: large;">Abhishek Jain</span><span style="font-size: large;"><br /></span></div>
<div><span style="font-size: large;"><br /></span>
<div>
<div><span style="font-size: large;"> </span></div>
</div>
</div>
</div>
<br />
<pre>_______________________________________________
OpenStack-dev mailing list
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>