Problem connecting to Floodlight from Quantum
We are implementing a test lab environment with OpenStack pointing to a Floodlight controller on another computer. The Floodlight controller is working and responds when a third computer running Devstack sends it requests, such as Add Network.
When we attempt to add a network from the OpenStack computer, the network is added in the MySQL quantum database on the OpenStack system, but there is no activity that shows on the Floodlight controller and the network creation fails. No subnet is created, but an entry for the network appears in the dashboard. We would expect the OpenStack computer to work like the DevStack computer and create a network with a subnet.
Here is the quantum log from the OpenStack system showing the failure:
2013-03-21 11:55:59 DEBUG [keystone.
2013-03-21 11:55:59 DEBUG [keystone.
2013-03-21 11:55:59 DEBUG [routes.middleware] No route matched for POST /networks.json
2013-03-21 11:55:59 DEBUG [routes.middleware] Matched POST /networks.json
2013-03-21 11:55:59 DEBUG [routes.middleware] Route path: '/networks{
2013-03-21 11:55:59 DEBUG [routes.middleware] Match dict: {'action': u'create', 'controller': wsgify(
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 DEBUG [amqplib] Closed channel #1
2013-03-21 11:55:59 DEBUG [amqplib] using channel_id: 1
2013-03-21 11:55:59 DEBUG [amqplib] Channel open
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 DEBUG [amqplib] Closed channel #1
2013-03-21 11:55:59 DEBUG [amqplib] using channel_id: 1
2013-03-21 11:55:59 DEBUG [amqplib] Channel open
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 DEBUG [quantum.
2013-03-21 11:55:59 ERROR [quantum.
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
obj = obj_creator(
File "/usr/lib/
ret = self.servers.
File "/usr/lib/
return self.rest_
File "/usr/lib/
ret = active_
File "/usr/lib/
with lock:
File "/usr/lib/
self.lockfile = open(self.fname, 'w')
IOError: [Errno 13] Permission denied: '/usr/lib/
2013-03-21 11:55:59 DEBUG [eventlet.
2013-03-21 11:55:59 DEBUG [keystone.
Here is the /etc/default/
me@OpenStackCom
# defaults for quantum-server
# path to config file corresponding to the core_plugin specified in
# quantum.conf
# QUANTUM_
QUANTUM_
Here is the restproxy.ini file:
me@OpenStackCom
[DATABASE]
sql_connection = mysql:/
reconnect_interval = 2
[RESTPROXY]
servertimeout = 10
servers=
Here is the quantum.conf file, leaving out some commented out lines for clarity:
me@OpenStackCom
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
# Show debugging output in logs (sets DEBUG log level output)
debug = True
# Address to bind the API server
bind_host = 0.0.0.0
# Port the bind the API server to
bind_port = 9696
# Path to the extensions. Note that this can be a colon-separated list of
# paths. For example:
# api_extensions_path = extensions:
# The __path__ of quantum.extensions is appended to this, so if your
# extensions are in there you don't need to specify them here
# api_extensions_path =
# Quantum plugin provider module
core_plugin = quantum.
allow_overlappi
# Paste configuration file
api_paste_config = /etc/quantum/
# The strategy to be used for auth.
# Supported values are 'keystone'
# auth_strategy = keystone
# Base MAC address. The first 3 octets will remain unchanged. If the
# 4h octet is not 00, it will also used. The others will be
# randomly generated.
# 3 octet
# base_mac = fa:16:3e:00:00:00
# 4 octet
# base_mac = fa:16:3e:4f:00:00
# Maximum amount of retries to generate a unique MAC address
# mac_generation_
# DHCP Lease duration (in seconds)
# dhcp_lease_duration = 120
# RPC configuration options. Defined in rpc __init__
# The messaging module to use, defaults to kombu.
# rpc_backend = quantum.
# Size of RPC thread pool
# rpc_thread_
# Size of RPC connection pool
# rpc_conn_pool_size = 30
# Seconds to wait for a response from call or multicall
# rpc_response_
# Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.
# rpc_cast_timeout = 30
# Modules of exceptions that are permitted to be recreated
# upon receiving exception data from an rpc call.
# allowed_
# AMQP exchange to connect to if using RabbitMQ or QPID
control_exchange = quantum
# ============ Notification System Options =======
# Defined in notifier api
notification_driver = quantum.
# default_
# myhost = myhost.com
# default_
# Defined in list_notifier
list_notifier_
I have performed these commands and they do generate a response from the Floodlight computer:
ovs-vsctl add-br br-int
ovs-vsctl –set-controller br-int tcp:192.
ifconfig br-int up
ifconfig eth0 up
ovs-vsctl add-port br-int eth0
Also, the Floodlight controller's web interface sees
Switches (1)
DPID IP Address Vendor Packets Bytes Flows Connected Since
00:00:90:
Any ideas are greatly appreciated.
Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sumit Naiksatam
- Solved:
- Last query:
- Last reply: