Hi Mandar,<div><br></div><div>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!</div>


<div><br></div><div>Dan</div><div> </div><div><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 1:38 AM, Vaze, Mandar <span dir="ltr"><<a href="mailto:Mandar.Vaze@nttdata.com" target="_blank">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">It is my understanding that in multi-node setup :<u></u><u></u></p>
<p><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>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><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>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>
<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>

<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><br>
<br></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>
</div>