Ask Your Question
0

[quantum.agent.dhcp_agent] Unable to sync network state.

asked 2013-03-27 16:34:05 -0600

[quantum.agent.dhcp_agent] Unable to sync network state.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-27 19:10:34 -0600

After trying several other things, I rebooted the server and now I am getting TAPs when I create a network. Looks like the reboot solved the problem.

edit flag offensive delete link more
0

answered 2013-03-27 16:46:50 -0600

After installing Quantum with a Floodlight controller, no TAP ports are being created when I created a network in the Horizon Web interface.

We are using just one server for all OpenStack functions in a test environment, so there is no inter-computer communication involved except for calls to the Floodlight controller.

Here is the error in the dhcp.agent.log file:

2013-03-26 13:59:04 ERROR [quantum.agent.dhcp_agent] Unable to sync network state. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 112, in sync_state active_networks = set(self.plugin_rpc.get_active_networks()) File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 260, in get_active_networks topic=self.topic) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/proxy.py", line 80, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/__init__.py", line 108, in call return _get_impl().call(cfg.CONF, context, topic, msg, timeout) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 718, in call rpc_amqp.get_connection_pool(conf, Connection)) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 369, in call rv = list(rv) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 337, in __iter__ raise result RemoteError: Remote error: OperationalError (OperationalError) no such table: networks u'SELECT networks.tenant_id AS networks_tenant_id, networks.id AS networks_id, networks.name AS networks_name, networks.status AS networks_status, networks.admin_state_up AS networks_admin_state_up, networks.shared AS networks_shared \nFROM networks LEFT OUTER JOIN externalnetworks ON networks.id = externalnetworks.network_id \nWHERE networks.admin_state_up IN (?)' (1,) [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 276, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, *args)\n', u' File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/quantum/db/dhcp_rpc_base.py", line 47, in get_active_networks\n plugin.get_networks(context, filters=filters)]\n', u' File "/usr/lib/python2.7/dist-packages/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 475, in get_networks\n None)\n', u' File "/usr/lib/python2.7/dist-packages/quantum/db/db_base_plugin_v2.py", line 963, in get_networks\n filters=filters, fields=fields)\n', u' File "/usr/lib/python2.7/dist-packages/quantum/db/db_base_plugin_v2.py", line 218, in _get_collection\n return [dict_func(c, fields) for c in query.all()]\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2115, in all\n return list(self)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2227, in __iter__\n return self._execute_and_instances(context)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances\n result = conn.execute(querycontext.statement, self._params)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1449, in execute ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-27 16:34:05 -0600

Seen: 63 times

Last updated: Mar 27 '13