[Openstack] help with neutron

马超 doit4um at gmail.com
Tue Jun 3 11:03:24 UTC 2014


Hi, I try to config ryu controller with openstak, and got a  problem:
# sudo ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
no other flow entries

here is some info, and I think the main problem is with neutron-server
any help ?
thanks

--1--
*in ryu-agent.log:*
CRITICAL neutron [-] Timeout while waiting on RPC response - topic:
"q-plugin", RPC method: "get_ofp_rest_api" info: "<unknown>"
I have append ryu.app.ofp_rest to app_list

--2--
*the neutron/server.log shows:*
ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
ERROR neutron.service [-] Unrecoverable error: please check log for details.
TRACE neutron.service Traceback (most recent call last):
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/service.py", line 99, in
serve_wsgi
TRACE neutron.service     service.start()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/service.py", line 68, in start
TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/service.py", line 112, in
_run_wsgi
TRACE neutron.service     app = config.load_paste_app(app_name)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 144, in
load_paste_app
TRACE neutron.service     app = deploy.loadapp("config:%s" % config_path,
name=app_name)
 TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in
loadapp
TRACE neutron.service     return loadobj(APP, uri, name=name, **kw)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in
loadobj
TRACE neutron.service     return context.create()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
create
TRACE neutron.service     return self.object_type.invoke(self)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in
invoke
TRACE neutron.service     **context.local_conf)
 TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
fix_call
TRACE neutron.service     val = callable(*args, **kw)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in
urlmap_factory
TRACE neutron.service     app = loader.get_app(app_name,
global_conf=global_conf)
 TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in
get_app
TRACE neutron.service     name=name, global_conf=global_conf).create()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
create
TRACE neutron.service     return self.object_type.invoke(self)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in
invoke
 TRACE neutron.service     **context.local_conf)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
fix_call
TRACE neutron.service     val = callable(*args, **kw)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/auth.py", line 59, in
pipeline_factory
TRACE neutron.service     app = loader.get_app(pipeline[-1])
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in
get_app
TRACE neutron.service     name=name, global_conf=global_conf).create()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
create
TRACE neutron.service     return self.object_type.invoke(self)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in
invoke
 TRACE neutron.service     return fix_call(context.object,
context.global_conf, **context.local_conf)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
fix_call
TRACE neutron.service     val = callable(*args, **kw)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 72, in
factory
TRACE neutron.service     return cls(**local_config)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 76, in
__init__
TRACE neutron.service     plugin = manager.NeutronManager.get_plugin()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/manager.py", line 206, in
get_plugin
TRACE neutron.service     return cls.get_instance().plugin
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/manager.py", line 201, in
get_instance
TRACE neutron.service     cls._create_instance()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/openstack/common/lockutils.py",
line 247, in inner
 TRACE neutron.service     retval = f(*args, **kwargs)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/manager.py", line 195, in
_create_instance
TRACE neutron.service     cls._instance = cls()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/manager.py", line 120, in __init__
TRACE neutron.service     self.plugin = plugin_klass()
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ryu/ryu_neutron_plugin.py",
line 130, in __init__
TRACE neutron.service     self.client.update_network(nw_id)
TRACE neutron.service   File
"/usr/local/lib/python2.7/dist-packages/ryu/app/client.py", line 92, in
update_network
TRACE neutron.service     self._do_request('PUT', self.path_network %
network_id)
TRACE neutron.service   File
"/usr/local/lib/python2.7/dist-packages/ryu/app/client.py", line 55, in
_do_request
 TRACE neutron.service     conn.request(method, url, body, headers)
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 973, in
request
TRACE neutron.service     self._send_request(method, url, body, headers)
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 1007, in
_send_request
TRACE neutron.service     self.endheaders(body)
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 969, in
endheaders
TRACE neutron.service     self._send_output(message_body)
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 829, in
_send_output
TRACE neutron.service     self.send(msg)
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 791, in
send
TRACE neutron.service     self.connect()
TRACE neutron.service   File "/usr/lib/python2.7/httplib.py", line 772, in
connect
TRACE neutron.service     self.timeout, self.source_address)
TRACE neutron.service   File
"/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 59, in
create_connection
TRACE neutron.service     raise error, msg
TRACE neutron.service error: [Errno 111] ECONNREFUSED

--3--
*in l3-agent.log:*
Failed reporting state!
TRACE neutron.agent.l3_agent Traceback (most recent call last):
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 815, in
_report_state
TRACE neutron.agent.l3_agent     self.use_call)
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 72, in
report_state
TRACE neutron.agent.l3_agent     return self.call(context, msg,
topic=self.topic)
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py",
line 130, in call
TRACE neutron.agent.l3_agent     exc.info, real_topic, msg.get('method'))
TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response
- topic: "q-plugin", RPC method: "report_state" info: "<unknown>"
TRACE neutron.agent.l3_agent
WARNING neutron.openstack.common.loopingcall [-] task run outlasted
interval by 56.007145 sec


ERROR neutron.agent.l3_agent [-] Failed synchronizing routers
TRACE neutron.agent.l3_agent Traceback (most recent call last):
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 723, in
_sync_routers_task
TRACE neutron.agent.l3_agent     context, router_ids)
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 76, in
get_routers
TRACE neutron.agent.l3_agent     topic=self.topic)
TRACE neutron.agent.l3_agent   File
"/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py",
line 130, in call
TRACE neutron.agent.l3_agent     exc.info, real_topic, msg.get('method'))
TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response
- topic: "q-l3-plugin", RPC method: "sync_routers" info: "<unknown>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140603/99de347f/attachment.html>


More information about the Openstack mailing list