<div><br><br><div class="gmail_quote">On Wed, Dec 21, 2011 at 3:39 AM, Alisson Soares Limeira Pontes <span dir="ltr"><<a href="mailto:apontes@cpqd.com.br">apontes@cpqd.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I have a dual node (Controller and Compute)  OpenStack setup, working fine. But i want to configure quantum for NaaS. I follow all steps of quantum administrator guide, and installed it in the controller-node. To configure the OVS plugin we must copy  ovs_quantum_agent.py and ovs_quantum_plugin.ini to the compute-node and launch the command<br>

</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">you probably right, Soren. I will install ovs-* in the compute node and retry. I have ovs-* installed only in the controller. I will try it and give feedback. Thank you very much.</blockquote>

<div><br></div><div>Hi Alisson,</div><div><br></div><div>This is correct.  OVS replaces the linux bridge as the virtual switch.  It must run on all compute nodes, as well as as any nodes running nova-compute, if you are using using Quantum in a way that requires some of the additional data plane services provided by nova-network (e.g., DHCP, L3 NAT gateway).  </div>

<div><br></div><div>Since you've gotten this far, I'm guessing you're already following the OVS plugin directions at: <a href="http://openvswitch.org/openstack/documentation/">http://openvswitch.org/openstack/documentation/</a></div>

<div><br></div><div>There is also the plugin-agnostic documentation at: <a href="http://docs.openstack.org/incubation/openstack-network/admin/content/">http://docs.openstack.org/incubation/openstack-network/admin/content/</a></div>

<div><br></div><div>I will go over the docs and try to make it more clear about what nodes require OVS to be installed.  Best,</div><div><br></div><div>Dan</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div></div><div class="h5"><br>
<br><div class="gmail_quote">2011/12/21 Soren Hansen <span dir="ltr"><<a href="mailto:soren@linux2go.dk" target="_blank">soren@linux2go.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<font face="courier new,monospace">Please share the exact error message from after installing openvswitch.</font><div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">Best regards,</font></div>



<div><font face="courier new,monospace">Soren Hansen<font color="#888888"><br></font></font><div><div></div><div><br><div class="gmail_quote">2011/12/21 Alisson Soares Limeira Pontes <span dir="ltr"><<a href="mailto:apontes@cpqd.com.br" target="_blank">apontes@cpqd.com.br</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When i first had the problem i did not have it installed.<br>But then i installed it<br><br>root@nova-controller:~# ovs-ofctl -V<br>



ovs-ofctl (Open vSwitch) 1.3.0<br>Compiled Dec <a href="tel:20%202011%2018" value="+4520201118" target="_blank">20 2011 18</a>:08:01<br>OpenFlow versions 0x1:0x1<br>
<br>but the problem persists.<div><div><br><br><div class="gmail_quote">2011/12/21 Soren Hansen <span dir="ltr"><<a href="mailto:soren@linux2go.dk" target="_blank">soren@linux2go.dk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2011/12/21 Alisson Soares Limeira Pontes <<a href="mailto:apontes@cpqd.com.br" target="_blank">apontes@cpqd.com.br</a>>:<br>
<div><div></div><div>> I am configuring nova to work with Quantum.<br>
> When aplying the configurations for the OVS plugin I face this error.<br>
><br>
> root@nova-compute-1:~# python ovs_quantum_agent.py ovs_quantum_plugin.ini<br>
><br>
> Traceback (most recent call last):<br>
>   File "ovs_quantum_agent.py", line 297, in <module><br>
>     plugin = OVSQuantumAgent(integ_br)<br>
>   File "ovs_quantum_agent.py", line 175, in __init__<br>
>     self.setup_integration_br(integ_br)<br>
>   File "ovs_quantum_agent.py", line 188, in setup_integration_br<br>
>     self.int_br.remove_all_flows()<br>
>   File "ovs_quantum_agent.py", line 89, in remove_all_flows<br>
>     self.run_ofctl("del-flows", [])<br>
>   File "ovs_quantum_agent.py", line 86, in run_ofctl<br>
>     return self.run_cmd(full_args)<br>
>   File "ovs_quantum_agent.py", line 58, in run_cmd<br>
>     p = Popen(args, stdout=PIPE)<br>
>   File "/usr/lib/python2.6/subprocess.py", line 633, in __init__<br>
>     errread, errwrite)<br>
>   File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child<br>
>     raise child_exception<br>
> OSError: [Errno 2] No such file or directory<br>
><br>
> Anyone know why? The file /usr/lib/python2.6/subprocess.py does exists!<br>
> All steps before this (according to the OVS README) went well.<br>
> I am using Quantum 2012.1-e2-ubuntu2 and the StackOPS0.3.<br>
<br>
</div></div>It's complaining that it can't find ovs-ofctl. Did you install openvswitch?<br>
<font color="#888888"><br>
--<br>
Soren Hansen        | <a href="http://linux2go.dk/" target="_blank">http://linux2go.dk/</a><br>
Ubuntu Developer    | <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a><br>
OpenStack Developer | <a href="http://www.openstack.org/" target="_blank">http://www.openstack.org/</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>Alisson Pontes<br>__________________________________________________________<br>Network Technology Evolution Researcher<br>



<div>CPqD - Center for Research and Development in Telecommunications<br>
</div>Tel.: <a href="tel:%2B55%2019%203705-4996" value="+551937054996" target="_blank">+55 19 3705-4996</a><br><a href="mailto:aponte@cpqd.com.br" target="_blank">apontes@cpqd.com.br</a><br><a href="http://www.cpqd.com.br" target="_blank">www.cpqd.com.br</a><br>



<br><img width="96" height="45"><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Soren Hansen        | <a href="http://linux2go.dk/" target="_blank">http://linux2go.dk/</a><br>Ubuntu Developer    | <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a><br>



OpenStack Developer | <a href="http://www.openstack.org/" target="_blank">http://www.openstack.org/</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Alisson Pontes<br>__________________________________________________________<br>Network Technology Evolution Researcher<br><div>CPqD - Center for Research and Development in Telecommunications<br>


</div>Tel.: <a href="tel:%2B55%2019%203705-4996" value="+551937054996" target="_blank">+55 19 3705-4996</a><br><a href="mailto:aponte@cpqd.com.br" target="_blank">apontes@cpqd.com.br</a><br><a href="http://www.cpqd.com.br" target="_blank">www.cpqd.com.br</a><br>

<br><img width="96" height="45"><br>
<br>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</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 Networks: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

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