Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Quantum Openvswitch Setup

I am trying to get quantum to work with openvswitch.

I installed openvswitch(without building the linux kernel module) , created the ovs_quantum db in mysql, made the respective changes as suggested by the README, in nova.conf to support quantum+openvswitch set up.

I created the OVS integration bridge using: ovs-vsctl add-br br-int ovs-vsctl add-port br-int eth1

And started the quantum service using python bin/quantum-server etc/quantum.conf

But when I create a network using PYTHONPATH=. python quantum/client/cli.py create_net proj_net1 network

It does not create one and I do not see any requests sent in the quantum service. It does not even give me an error message. Where should I be looking for the log?

I am just having one server running all the nova services, so the controller acts as the compute node as well. Do I need to run the agent in the server by doing this python ovs_quantum_agent.py ovs_quantum_plugin.ini

When I did run it, I get this error python quantum/plugins/openvswitch/agent/ovs_quantum_agent.py etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini ovs-ofctl: br-int is not a bridge or a socket

But the ovs-vsctl command lists the bridge I created

ovs-vsctl show b9a2f795-6ea3-4847-a4a0-3ed04f053773 Bridge br-int Port br-int Interface br-int type: internal Port "eth1" Interface "eth1"

I am not very familiar with the ovswitch. I am not sure if there is a problem with the ovswitch setup or if there is problem on the quantum end.

Any suggestions would be helpful!

Thanks in advance.