<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:14px"><div><div>Hi, I try to config ryu controller with openstak, and got a problem:</div><div><div><div># sudo ovs-ofctl dump-flows br-int<br></div>
<div>NXST_FLOW reply (xid=0x4):</div><div><span style="color:rgb(34,34,34)">no other flow entries</span><br></div><div><span style="color:rgb(34,34,34)"><br></span></div><div><span style="color:rgb(34,34,34)">here is some info, and I think the main problem is with neutron-server</span></div>
<div><span style="color:rgb(34,34,34)">any help ? </span></div><div><span style="color:rgb(34,34,34)">thanks</span><br></div><div><span style="color:rgb(34,34,34)"><br></span></div></div></div><div>--1-- </div><div><b>in ryu-agent.log:</b><br>
</div><div>CRITICAL neutron [-] Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "get_ofp_rest_api" info: "<unknown>"<br></div><div>I have append ryu.app.ofp_rest to app_list</div>
<div><br></div></div><div>--2-- </div></div><div style="font-family:arial,sans-serif;font-size:14px"><b>the neutron/server.log shows:</b></div><div style="font-family:arial,sans-serif;font-size:14px"><div>ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver</div>
<div>ERROR neutron.service [-] Unrecoverable error: please check log for details.</div><div>TRACE neutron.service Traceback (most recent call last):</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 99, in serve_wsgi</div>
<div>TRACE neutron.service service.start()</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 68, in start</div><div>TRACE neutron.service self.wsgi_app = _run_wsgi(self.app_name)</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 112, in _run_wsgi</div><div>TRACE neutron.service app = config.load_paste_app(app_name)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 144, in load_paste_app</div>
<div>TRACE neutron.service app = deploy.loadapp("config:%s" % config_path, name=app_name)</div><div> TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp</div>
<div>TRACE neutron.service return loadobj(APP, uri, name=name, **kw)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj</div><div>TRACE neutron.service return context.create()</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create</div><div>TRACE neutron.service return self.object_type.invoke(self)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke</div>
<div>TRACE neutron.service **context.local_conf)</div><div> TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call</div><div>TRACE neutron.service val = callable(*args, **kw)</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory</div><div>TRACE neutron.service app = loader.get_app(app_name, global_conf=global_conf)</div>
<div>
TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app</div><div>TRACE neutron.service name=name, global_conf=global_conf).create()</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create</div>
<div>TRACE neutron.service return self.object_type.invoke(self)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke</div><div> TRACE neutron.service **context.local_conf)</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call</div><div>TRACE neutron.service val = callable(*args, **kw)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/auth.py", line 59, in pipeline_factory</div>
<div>TRACE neutron.service app = loader.get_app(pipeline[-1])</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app</div><div>TRACE neutron.service name=name, global_conf=global_conf).create()</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create</div><div>TRACE neutron.service return self.object_type.invoke(self)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke</div>
<div> TRACE neutron.service return fix_call(context.object, context.global_conf, **context.local_conf)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call</div>
<div>TRACE neutron.service val = callable(*args, **kw)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 72, in factory</div><div>TRACE neutron.service return cls(**local_config)</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 76, in __init__</div><div>TRACE neutron.service plugin = manager.NeutronManager.get_plugin()</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 206, in get_plugin</div>
<div>TRACE neutron.service return cls.get_instance().plugin</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 201, in get_instance</div><div>TRACE neutron.service cls._create_instance()</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/lockutils.py", line 247, in inner</div><div> TRACE neutron.service retval = f(*args, **kwargs)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 195, in _create_instance</div>
<div>TRACE neutron.service cls._instance = cls()</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 120, in __init__</div><div>TRACE neutron.service self.plugin = plugin_klass()</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/plugins/ryu/ryu_neutron_plugin.py", line 130, in __init__</div><div>TRACE neutron.service self.client.update_network(nw_id)</div><div>
TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/ryu/app/client.py", line 92, in update_network</div><div>TRACE neutron.service self._do_request('PUT', self.path_network % network_id)</div>
<div>TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/ryu/app/client.py", line 55, in _do_request</div><div> TRACE neutron.service conn.request(method, url, body, headers)</div><div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 973, in request</div>
<div>TRACE neutron.service self._send_request(method, url, body, headers)</div><div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request</div><div>TRACE neutron.service self.endheaders(body)</div>
<div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 969, in endheaders</div><div>TRACE neutron.service self._send_output(message_body)</div><div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 829, in _send_output</div>
<div>TRACE neutron.service self.send(msg)</div><div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 791, in send</div><div>TRACE neutron.service self.connect()</div><div>TRACE neutron.service File "/usr/lib/python2.7/httplib.py", line 772, in connect</div>
<div>TRACE neutron.service self.timeout, self.source_address)</div><div>TRACE neutron.service File "/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 59, in create_connection</div><div>TRACE neutron.service raise error, msg</div>
<div>TRACE neutron.service error: [Errno 111] ECONNREFUSED</div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">--3-- <font face="arial, sans-serif"><br>
</font></div><div style="font-family:arial,sans-serif;font-size:14px"><font face="arial, sans-serif"><b>in l3-agent.log:</b></font><br></div><div style="font-family:arial,sans-serif;font-size:14px"><font face="arial, sans-serif"><div>
Failed reporting state!</div><div>TRACE neutron.agent.l3_agent Traceback (most recent call last):</div><div>TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 815, in _report_state</div>
<div>TRACE neutron.agent.l3_agent self.use_call)</div><div>TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 72, in report_state</div><div>TRACE neutron.agent.l3_agent return self.call(context, msg, topic=self.topic)</div>
<div>TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py", line 130, in call</div><div>TRACE neutron.agent.l3_agent <a href="http://exc.info/" target="_blank">exc.info</a>, real_topic, msg.get('method'))</div>
<div>TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "report_state" info: "<unknown>"</div><div>TRACE neutron.agent.l3_agent </div>
<div>WARNING neutron.openstack.common.loopingcall [-] task run outlasted interval by 56.007145 sec</div><div><br></div></font></div><div style="font-family:arial,sans-serif;font-size:14px"><font face="arial, sans-serif"><br>
</font></div><div style="font-family:arial,sans-serif;font-size:14px"><div>ERROR neutron.agent.l3_agent [-] Failed synchronizing routers</div><div>TRACE neutron.agent.l3_agent Traceback (most recent call last):</div><div>
TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 723, in _sync_routers_task</div><div>TRACE neutron.agent.l3_agent context, router_ids)</div><div>TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 76, in get_routers</div>
<div>TRACE neutron.agent.l3_agent topic=self.topic)</div><div>TRACE neutron.agent.l3_agent File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py", line 130, in call</div><div>TRACE neutron.agent.l3_agent <a href="http://exc.info/" target="_blank">exc.info</a>, real_topic, msg.get('method'))</div>
<div>TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response - topic: "q-l3-plugin", RPC method: "sync_routers" info: "<unknown>"</div><div><br></div></div></div>