can't create network after enable ml2

asked 2013-12-27 04:08:40 -0500

chen-li gravatar image

updated 2014-01-22 15:12:47 -0500

Evgeny gravatar image

Hi list,

When I run command : neutron net-create vxlan-1, I get error in neutron-server:

2013-12-27 09:55:37.493 32679 DEBUG qpid.messaging.io.ops [-] SENT[503df80]: SessionCommandPoint(command_id=serial(0), command_offset=0) write_op /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:686
2013-12-27 09:55:37.496 32679 ERROR neutron.api.v2.resource [-] create failed
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource Traceback (most recent call last):
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/ site-packages/neutron/api/v2/resource.py", line 84, in resource
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource result = method(request=request, **args)
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 407, in create
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource obj)})
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 386, in notify
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource notifier_method)
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 268, in _send_dhcp_notification
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource self._dhcp_agent_notifier.notify(context, data, methodname)
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py", line 132, in notify
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource self._notification(context, methodname, data, network_id)
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py", line 79, in _notification
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource for (host, topic) in self._get_dhcp_agents(context, network_id):
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py", line 49, in _get_dhcp_agents
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource context, [network_id], active=True)
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/db/agentschedulers_db.py", line 123, in get_dhcp_agents_hosting_networks
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource for binding in query
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2227, in __iter__
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource return self._execute_and_instances(context)
2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource File "/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
 2013-12-27 09:55:37.496 32679 TRACE neutron.api.v2.resource result = conn.execute(querycontext.statement, self._params)
 2013-12-27 ...
(more)
edit retag flag offensive close merge delete

Comments

Chen, can you check MySQL to see whether the database ovs_ml2.networkdhcpagentbindings exists? If it doesn't we will have to determine why the database table schema wasn't applied correctly.

bswrchrd gravatar imagebswrchrd ( 2013-12-27 14:41:13 -0500 )edit
1

This was also opened as a bug: https://bugs.launchpad.net/neutron/+bug/1264482 Please consider following up here with an answer once that bug is resolved.

rbowen gravatar imagerbowen ( 2014-01-06 12:38:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-14 08:51:53 -0500

Can you see if the python-pyudev package is installed on that neutron node. There is a packaging dependency issue that causes the required python-pyudev package to not be installed, and there is some chance is that this triggered the database issue.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-27 04:08:40 -0500

Seen: 430 times

Last updated: Jan 14 '14