<div dir="ltr"><div><div><div><div><div><font size="4">Hi Ben <br><br></font></div><font size="4">Thanks.I'll take care of Formatting in future.Moreover I'll pull the latest code and will let you know the result soon. </font><br>
<br></div><font size="4">Hi Facundo<br><br></font></div><font size="4">Following are the answers of your questions...<br></font><br><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span><span style="font:7pt "Times New Roman"">
</span></span></span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Do you have n-cpu running in every node? (controller and both computes)<br><br></span></div><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="color:rgb(0,0,0)">--YES I have n-cpu running in every node.</span><br>
<br></span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span><span style="font:7pt "Times New Roman""></span></span></span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Which services do you have enabled in both compute nodes?<br>
<br></span></span></div><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><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">--n-novnc and n-cpu are the two services running at the two compute nodes.</font></span><br>
</span></span><div><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span><span style="font:7pt "Times New Roman""><br>
</span></span></span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">To which node corresponds the screen log provided?</span>
</span></span><p><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span>-<font size="4"><span style="color:rgb(0,0,0)">- The logs corresponds to the the compute node at which the n-cpu service is started.</span></font><br>
</span></span></p><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"></span></span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><br>
What is the output of nova-manage service list?</span><div><div><br><font size="4">--Following is the output of nova-manage service list<br><br>nova-conductor fedora5 </font><font size="4"> internal enabled :-) 2014-03-18 14:38:43<br>
2014-03-18 15:38:54.553 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-cert', 'availability_zone': 'internal', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 51), 'report_count': 1043L, 'topic': u'cert', 'host': u'fedora5', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 2L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.553 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] DB_Driver.is_up last_heartbeat = 2014-03-18 14:38:51 elapsed = 3.553656 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-cert fedora5 </font><font size="4"> internal enabled :-) 2014-03-18 14:38:51<br>2014-03-18 15:38:54.554 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-scheduler', 'availability_zone': 'internal', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 1), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 42), 'report_count': 1042L, 'topic': u'scheduler', 'host': u'fedora5', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 3L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.554 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] DB_Driver.is_up last_heartbeat = 2014-03-18 14:38:42 elapsed = 12.554713 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-scheduler fedora5 </font><font size="4"> internal enabled :-) 2014-03-18 14:38:42<br>2014-03-18 15:38:54.555 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-consoleauth', 'availability_zone': 'internal', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 6), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 47), 'report_count': 1042L, 'topic': u'consoleauth', 'host': u'fedora5', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 4L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.555 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 <font size="4">None None] DB_Driver.is_up last_heartbeat = </font>2014-03-18 14:38:47 elapsed = 7.555671 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-consoleauth fedora5 </font><font size="4"> internal enabled :-) 2014-03-18 14:38:47<br>2014-03-18 15:38:54.556 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 7), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 47), 'report_count': 1041L, 'topic': u'compute', 'host': u'fedora5', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 5L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.556 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] DB_Driver.is_up last_heartbeat = 2014-03-18 14:38:47 elapsed = 7.556588 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-compute fedora5 </font><font size="4"> nova enabled :-) 2014-03-18 14:38:47<br>2014-03-18 15:38:54.557 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 8), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 48), 'report_count': 1041L, 'topic': u'compute', 'host': u'fedora6', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 6L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.557 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] DB_Driver.is_up last_heartbeat = 2014-03-18 14:38:48 elapsed = 6.557583 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-compute fedora6 </font><font size="4"> nova enabled :-) 2014-03-18 14:38:48<br>2014-03-18 15:38:54.558 DEBUG nova.servicegroup.api [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] Check if the given member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 47, 9), 'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 48), 'report_count': 1029L, 'topic': u'compute', 'host': u'fedora7', 'disabled': False, 'deleted_at': None, 'disabled_reason': None, 'id': 7L}] is part of the ServiceGroup, is up service_is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/api.py:94<br>
2014-03-18 15:38:54.558 DEBUG nova.servicegroup.drivers.db [req-84f2b3c1-8020-4f89-bd59-</font><font size="4">b9cb76126138 None None] DB_Driver.is_up last_heartbeat = 2014-03-18 14:38:48 elapsed = 6.558705 is_up /opt/stack/nova/nova/</font><font size="4">servicegroup/drivers/db.py:71<br>
nova-compute fedora7 </font><font size="4"> nova enabled :-) 2014-03-18<br></font><div><br><br></div><div><font size="4">Thanks <br></font></div><div><font size="4">Abhishek Jain</font><br>
</div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 6:22 PM, Maldonado, Facundo N <span dir="ltr"><<a href="mailto:facundo.n.maldonado@intel.com" target="_blank">facundo.n.maldonado@intel.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">Couple of questions,<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><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do you have n-cpu running in every node? (controller and both computes)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Which services do you have enabled in both compute nodes?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">To which node corresponds the screen log provided?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What is the output of nova-manage service list?<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">Facundo.<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>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Ben Nemec [mailto:<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>]
<br>
<b>Sent:</b> Monday, March 17, 2014 1:15 PM</span></p><div class=""><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
</div><b>Subject:</b> Re: [openstack-dev] [nova] OPENSTACK SERVICE ERROR<u></u><u></u><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">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.<u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">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.<u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">-Ben<u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">On 2014-03-15 08:15, abhishek jain wrote:<u></u><u></u></span></p>
<blockquote style="border:none;border-left:solid #1010ff 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">Hi all</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">I have installed openstack using devstack and nearly all the functionality is working fine.</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">However I'm getting an issue during live migration .</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">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.</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">For this I'm using NFS which is working fine.</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif""><br>
Also 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>
</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">However when I apply nova live-migration command after restarting the nova-compute service using screen session the VM is not able to migrate.</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">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.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
</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">Also find the attached screanshot describing the complete error.</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">Please help regarding this.<br>
<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">Thanks</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif"">Abhishek Jain</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>OpenStack-dev mailing list<u></u><u></u></pre>
<pre><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><u></u><u></u></pre>
<pre><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></pre>
</blockquote>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> <u></u><u></u></span></p>
</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>