← Back to team overview

openstack team mailing list archive

Re: Quantum OVS over StackOPS

 

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

$ python ovs_quantum_agent.py ovs_quantum_plugin.ini

but it returns me the error

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

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.

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

Follow ups

References