Ask Your Question
0

Openstack fails to create external network with ODL

asked 2015-05-26 16:46:14 -0700

yaolin gravatar image

I am using Openstack icehouse with ODL Helium SR3. I can create an internal network with 2 VMs attached and ping between these 2 VMs. However, I failed to create the external network (I am not using devstack):

root@CtlNode:/home/yaolin# neutron net-create ext-net --shared --router:external=True

500-{u'NeutronError': {u'message': u'createnetworkpostcommit failed.', u'type': u'MechanismDriverError', u'detail': u''}}

Note that this command works if openvswitch instead of opendaylight is used in ml2_conf.ini. Here's neutron log:

2015-05-26 16:17:56.069 3482 INFO neutron.wsgi [-] (3482) accepted ('127.0.0.1', 46225)

2015-05-26 16:17:56.128 3482 INFO neutron.plugins.ml2.db [req-d923c84e-6d2c-48ce-9769-235a113c943d None] Added segment a37f4260-8553-4105-be5e-c7b7e9930506 of type vxlan for network dc48a6ac-fbc3-4020-a913-f8d49092369e

2015-05-26 16:17:56.174 3482 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.29.106.220

2015-05-26 16:17:56.184 3482 ERROR neutron.plugins.ml2.managers [req-d923c84e-6d2c-48ce-9769-235a113c943d None] Mechanism driver 'opendaylight' failed in createnetworkpostcommit

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 168, in callon_drivers

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 147, in createnetwork_postcommit

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers self.synchronize('create', ODL_NETWORKS, context)

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanism_odl.py", line 178, in synchronize

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers self.syncsingleresource(operation, object_type, context)

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 281, in syncsingle_resource

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers self.outofsync = True

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/excutils.py", line 82, in exit

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers six.reraise(self.type_, self.value, self.tb)

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 278, in syncsingle_resource

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers self.sendjson(method, urlpath, {object_type[:-1]: resource})

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanism_odl.py", line 301, in sendjson

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2.managers r.raiseforstatus()

2015-05-26 16:17:56.184 3482 TRACE neutron.plugins.ml2 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-05-27 08:07:05 -0700

Moderators

I believe ODL Helium SR3 does not support external network.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-05-26 16:46:14 -0700

Seen: 460 times

Last updated: May 27 '15