[Openstack] Quantum and Openvswitch GRE

Justin Brown justin.brown at fandingo.org
Wed Aug 7 15:31:40 UTC 2013


I'm having trouble setting up Grizzly Quantum with Openvswitch using
GRE tunnels.

The basic problem is that Quantum errors out when configuring the tunnel:

2013-08-07 10:14:36     INFO
[quantum.plugins.openvswitch.agent.ovs_quantum_agent] Port
ea8cdaf4-09e3-4457-bb05-e76e51f513cc updated. Details:
{u'admin_state_up': True, u'network_id':
u'270c1a45-36cb-4978-9c58-376f2afd48bf', u'segmentation_id': 1,
u'physical_network': None, u'device':
u'ea8cdaf4-09e3-4457-bb05-e76e51f513cc', u'port_id':
u'ea8cdaf4-09e3-4457-bb05-e76e51f513cc', u'network_type': u'gre'}
2013-08-07 10:14:36     INFO
[quantum.plugins.openvswitch.agent.ovs_quantum_agent] Assigning 1 as
local vlan for net-id=270c1a45-36cb-4978-9c58-376f2afd48bf

2013-08-07 10:14:36    ERROR
[quantum.plugins.openvswitch.agent.ovs_quantum_agent] Cannot provision
GRE network for net-id=270c1a45-36cb-4978-9c58-376f2afd48bf -
tunneling disabled

The first thing to note is that I have manually setup tunneling
between my Quantum server and the compute node. GRE tunneling works
fine, so that is not the issue.

The strange part is that Quantum doesn't appear to be initializing
br-int and br-tun on either server. Quantum should be setting up the
patch interfaces, but they are missing.

[root at quantum ~]# ovs-vsctl show
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "ens8.25"
            Interface "ens8.25"
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    ovs_version: "1.10.0"

[root at compute1 ~]# ovs-vsctl show
    Bridge br-int
        Port "tapea8cdaf4-09"
            tag: 1
            Interface "tapea8cdaf4-09"
        Port br-int
            Interface br-int
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    ovs_version: "1.10.0"

Besides the configurations below, the only configuration that I did was
both servers
* ovs-vsctl add-br br-tun
* ovs-vsctl add-br br-int
on Quantum
* ovs-vsctl add-br br-ex
* ovs-vsctl add-port br-ex ens8.25

Here are my configurations:

openvswitch plugin config
sql_connection = mysql://quantum:***@mysql.cloud.X.net:3306/quantum
reconnect_interval = 2

tenant_network_type = gre
enable_tunneling = True
tunnel_id_ranges = 1:1000
integration_bridge = br-int
tunnel_bridge = br-tun

# For Quantum server
local_ip =
# For compute1
local_ip =

polling_interval = 2



debug = True
verbose = True
lock_path = $state_path/lock
bind_host = quantum.cloud.X.net
bind_port = 9696
api_paste_config = api-paste.ini
auth_strategy = keystone
rpc_backend = quantum.openstack.common.rpc.impl_kombu
control_exchange = quantum
rabbit_host = rabbitmq.cloud.X.net
notification_driver = quantum.openstack.common.notifier.rpc_notifier
default_notification_level = INFO
notification_topics = notifications
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
auth_host = openstack.cloud.X.net
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = ***
signing_dir = /var/lib/quantum/keystone-signing

Could someone help me figure out what is happening?


More information about the Openstack mailing list