<br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 5:34 AM, Vaze, Mandar <span dir="ltr"><<a href="mailto:Mandar.Vaze@nttdata.com">Mandar.Vaze@nttdata.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">Dan,<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">On similar lines – Currently if nova-network processes are running on
<b>two</b> nodes, only way to set specific network on specific nova-network node is to execute “nova-manage network create” on respective nova-network node. Is that correct ?<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">How is the above setup  related to “multi-host” ? I found a code comment that “Quantum Manager doesn’t support multi-host”
<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">I’m copying Vish, as he seems to be expert on multi-host – Reading  </span><a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.html</a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
 , it looks like above is Option 2/Multi-Nic, but not really sure)  If yes, how is multi-nic supported by Quantum ?<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">Additionally – in the above document Vish suggested that each nova-compute must run nova-network – Is that why with QuantumManager – nova-manage executes networking
 commands like iptables, dnsmasq locally ?</span></p></div></div></blockquote><div><br></div><div>Yes, as documented Quantum Manager in Essex does not support multi-host.  This is why the nova-manage limitation is workable, albiet somewhat inconvenient.  </div>

<div><br></div><div>In Folsom, we will support a model that provides the same HA benefits of multi-host, though the implementation will be different, as the L3 forwarding + DHCP functions will be handled by Quantum, not by Nova.  </div>

<div><br></div><div>Dan</div><div>   </div><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"><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>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks !!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Mandar<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>
<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""> Dan Wendlandt [mailto:<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>]
<br>
<b>Sent:</b> Thursday, April 12, 2012 9:44 PM<br>
<b>To:</b> Vaze, Mandar<br>
<b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>; <a href="mailto:netstack@lists.launchpad.net" target="_blank">netstack@lists.launchpad.net</a><br>
<b>Subject:</b> Re: [Netstack] Role of "nova-manage network" commands when using QuantumManager<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi Mandar,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks for bringing this up.  For Essex, nova-manage commands to create/delete Quantum networks must be run on the nova-network node.  For Folsom this will all change, as all networks will be created directly against the Quantum API, rather
 than using nova-manage.  I'll add a note to the administrator guide, as this is not called there.  Thanks!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Dan<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Apr 12, 2012 at 1:38 AM, Vaze, Mandar <<a href="mailto:Mandar.Vaze@nttdata.com" target="_blank">Mandar.Vaze@nttdata.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">It is my understanding that in multi-node setup :<u></u><u></u></p>
<p><span style="font-family:Symbol">·</span><span style="font-size:7.0pt">        
</span>nova-manage can be executed from any machine which may not be running nova-network process.  (Or should nova-manage always be run on nova-network node ?)<u></u><u></u></p>
<p><span style="font-family:Symbol">·</span><span style="font-size:7.0pt">        
</span>nova-manage does DB operations and delegates the actual networking calls to nova-network process ?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is this understanding correct ?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I traced “nova-manage network create” and nova-manage network delete” using FlatDHCPManager (default for devstack/stack.sh)<u></u><u></u></p>
<p class="MsoNormal">Both these calls seem to be doing only DB operations.<u></u><u></u></p>
<p class="MsoNormal">BTW, nova-network process was shutdown during both “network create” and “network delete” – Still both operations were successful.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">But when using QuantumManager as network manager – nova-manage seems to be doing networking operations like “iptables-save” (during network create) and “kill_dhcp” (during network
 delete)<u></u><u></u></p>
<p class="MsoNormal">(via linux-net L3 driver)<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Since nova-manage command may be executed on a host which isn’t running nova-network – network commands like “iptables” and “kill -9 <pid of dnsmasq>” on host running nova-manage
 seems incorrect.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">For the first scenario (iptables-save during “network create” – there is already a defect in LP :
<a href="https://bugs.launchpad.net/nova/+bug/977738" target="_blank">https://bugs.launchpad.net/nova/+bug/977738</a><u></u><u></u></p>
<p class="MsoNormal">and review :
<a href="https://review.openstack.org/6451" target="_blank">https://review.openstack.org/6451</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I would like your comments and opinions which would help me understand  “What nova-manage should and should NOT do”<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">-Mandar<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying
 promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
--<br>
Mailing list: <a href="https://launchpad.net/~netstack" target="_blank">https://launchpad.net/~netstack</a><br>
Post to     : <a href="mailto:netstack@lists.launchpad.net" target="_blank">netstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~netstack" target="_blank">https://launchpad.net/~netstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><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>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt <u></u><u></u></p>
<div>
<p class="MsoNormal">Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><u></u><u></u></p>
<div>
<p class="MsoNormal">twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br clear="both">
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<br>


</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>