openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06294
Re: Quantum OVS over StackOPS
On Wed, Dec 21, 2011 at 3:39 AM, Alisson Soares Limeira Pontes <
apontes@xxxxxxxxxxx> wrote:
> 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
>
> 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.
Hi Alisson,
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).
Since you've gotten this far, I'm guessing you're already following the OVS
plugin directions at: http://openvswitch.org/openstack/documentation/
There is also the plugin-agnostic documentation at:
http://docs.openstack.org/incubation/openstack-network/admin/content/
I will go over the docs and try to make it more clear about what nodes
require OVS to be installed. Best,
Dan
>
> 2011/12/21 Soren Hansen <soren@xxxxxxxxxxx>
>
>> Please share the exact error message from after installing openvswitch.
>>
>> Best regards,
>> Soren Hansen
>>
>> 2011/12/21 Alisson Soares Limeira Pontes <apontes@xxxxxxxxxxx>
>>
>>> When i first had the problem i did not have it installed.
>>> But then i installed it
>>>
>>> root@nova-controller:~# ovs-ofctl -V
>>> ovs-ofctl (Open vSwitch) 1.3.0
>>> Compiled Dec 20 2011 18:08:01
>>> OpenFlow versions 0x1:0x1
>>>
>>> but the problem persists.
>>>
>>>
>>> 2011/12/21 Soren Hansen <soren@xxxxxxxxxxx>
>>>
>>>> 2011/12/21 Alisson Soares Limeira Pontes <apontes@xxxxxxxxxxx>:
>>>> > I am configuring nova to work with Quantum.
>>>> > When aplying the configurations for the OVS plugin I face this error.
>>>> >
>>>> > root@nova-compute-1:~# python ovs_quantum_agent.py
>>>> ovs_quantum_plugin.ini
>>>> >
>>>> > Traceback (most recent call last):
>>>> > File "ovs_quantum_agent.py", line 297, in <module>
>>>> > plugin = OVSQuantumAgent(integ_br)
>>>> > File "ovs_quantum_agent.py", line 175, in __init__
>>>> > self.setup_integration_br(integ_br)
>>>> > File "ovs_quantum_agent.py", line 188, in setup_integration_br
>>>> > self.int_br.remove_all_flows()
>>>> > File "ovs_quantum_agent.py", line 89, in remove_all_flows
>>>> > self.run_ofctl("del-flows", [])
>>>> > File "ovs_quantum_agent.py", line 86, in run_ofctl
>>>> > return self.run_cmd(full_args)
>>>> > File "ovs_quantum_agent.py", line 58, in run_cmd
>>>> > p = Popen(args, stdout=PIPE)
>>>> > File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
>>>> > errread, errwrite)
>>>> > File "/usr/lib/python2.6/subprocess.py", line 1139, in
>>>> _execute_child
>>>> > raise child_exception
>>>> > OSError: [Errno 2] No such file or directory
>>>> >
>>>> > Anyone know why? The file /usr/lib/python2.6/subprocess.py does
>>>> exists!
>>>> > All steps before this (according to the OVS README) went well.
>>>> > I am using Quantum 2012.1-e2-ubuntu2 and the StackOPS0.3.
>>>>
>>>> It's complaining that it can't find ovs-ofctl. Did you install
>>>> openvswitch?
>>>>
>>>> --
>>>> Soren Hansen | http://linux2go.dk/
>>>> Ubuntu Developer | http://www.ubuntu.com/
>>>> OpenStack Developer | http://www.openstack.org/
>>>>
>>>
>>>
>>>
>>> --
>>> Alisson Pontes
>>> __________________________________________________________
>>> Network Technology Evolution Researcher
>>> CPqD - Center for Research and Development in Telecommunications
>>> Tel.: +55 19 3705-4996
>>> apontes@xxxxxxxxxxx <aponte@xxxxxxxxxxx>
>>> www.cpqd.com.br
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Soren Hansen | http://linux2go.dk/
>> Ubuntu Developer | http://www.ubuntu.com/
>> OpenStack Developer | http://www.openstack.org/
>>
>
>
>
> --
> Alisson Pontes
> __________________________________________________________
> Network Technology Evolution Researcher
> CPqD - Center for Research and Development in Telecommunications
> Tel.: +55 19 3705-4996
> apontes@xxxxxxxxxxx <aponte@xxxxxxxxxxx>
> www.cpqd.com.br
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~
References