Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Neutron network creation fails with helium ODL /openstack juno.

I tried integrating openstack juno release with opendaylight helium distribution-karaf-0.2.0-Helium release but it is failing with below error in neutron network creation phase.

Please find the log form /var/log/neutron/server.log

2015-03-04 12:47:42.764 6642 INFO neutron.wsgi [-] (6642) accepted ('10.203.33.33', 44957) 2015-03-04 12:47:42.770 6642 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.013 6642 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.260 6642 INFO neutron.plugins.ml2.db [req-eed8ec57-6302-445a-936c-b9613789d458 None] Added segment b7531fb9-88fb-4eb5-911d-40576298afb1 of type gre for network 51726157-1976-47fa-b035-ba17321b0187 2015-03-04 12:47:43.287 6642 INFO neutron.tests.unit.ml2.drivers.mechanismlogger [req-eed8ec57-6302-445a-936c-b9613789d458 None] createnetworkprecommit called with network settings {'status': 'ACTIVE', 'subnets': [], 'name': u'demo', 'provider:physicalnetwork': None, 'adminstateup': True, 'tenantid': u'c61353d098c5436da1e7ea6e6efc0449', 'provider:networktype': u'gre', 'router:external': False, 'shared': False, 'id': '51726157-1976-47fa-b035-ba17321b0187', 'provider:segmentationid': 1L} (original settings None) and network segments [{'segmentationid': 1L, 'physicalnetwork': None, 'id': u'b7531fb9-88fb-4eb5-911d-40576298afb1', 'networktype': u'gre'}] 2015-03-04 12:47:43.416 6642 INFO urllib3.connectionpool [req-eed8ec57-6302-445a-936c-b9613789d458 ] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.435 6642 INFO urllib3.connectionpool [req-eed8ec57-6302-445a-936c-b9613789d458 ] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.467 6642 INFO urllib3.connectionpool [req-eed8ec57-6302-445a-936c-b9613789d458 ] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.492 6642 ERROR neutron.plugins.ml2.managers [req-eed8ec57-6302-445a-936c-b9613789d458 None] Mechanism driver 'opendaylight' failed in createnetworkpostcommit 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers Traceback (most recent call last): 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 291, in callondrivers 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers getattr(driver.obj, methodname)(context) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 145, in createnetworkpostcommit 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers self.synchronize('create', ODLNETWORKS, context) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 174, in synchronize 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers self.syncfull(context) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/lockutils.py", line 249, in inner 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers return f(args, *kwargs) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 233, in syncfull 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers self.syncresources(collectionname, context) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 221, in syncresources 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers self.sendjson('post', collectionname, {key: tobesynced}) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 299, in sendjson 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers r.raiseforstatus() 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/requests/models.py", line 795, in raiseforstatus 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers raise HTTPError(httperrormsg, response=self) 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers HTTPError: 500 Server Error: Internal Server Error 2015-03-04 12:47:43.492 6642 TRACE neutron.plugins.ml2.managers 2015-03-04 12:47:43.497 6642 ERROR neutron.plugins.ml2.plugin [req-eed8ec57-6302-445a-936c-b9613789d458 None] mechanismmanager.createnetworkpostcommit failed, deleting network '51726157-1976-47fa-b035-ba17321b0187' 2015-03-04 12:47:43.582 6642 INFO neutron.tests.unit.ml2.drivers.mechanismlogger [req-eed8ec57-6302-445a-936c-b9613789d458 None] deletenetworkprecommit called with network settings {'status': u'ACTIVE', 'subnets': [], 'name': u'demo', 'provider:physicalnetwork': None, 'adminstateup': True, 'tenantid': u'c61353d098c5436da1e7ea6e6efc0449', 'provider:networktype': u'gre', 'router:external': False, 'shared': False, 'id': u'51726157-1976-47fa-b035-ba17321b0187', 'provider:segmentationid': 1L} (original settings None) and network segments [{'segmentationid': 1L, 'physicalnetwork': None, 'id': u'b7531fb9-88fb-4eb5-911d-40576298afb1', 'networktype': u'gre'}] 2015-03-04 12:47:43.772 6642 INFO urllib3.connectionpool [req-eed8ec57-6302-445a-936c-b9613789d458 ] Starting new HTTP connection (1): 10.203.33.33 2015-03-04 12:47:43.788 6642 ERROR neutron.plugins.ml2.managers [req-eed8ec57-6302-445a-936c-b9613789d458 None] Mechanism driver 'opendaylight' failed in deletenetworkpostcommit 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers Traceback (most recent call last): 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 291, in _callondrivers 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers getattr(driver.obj, methodname)(context) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 151, in deletenetworkpostcommit 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers self.synchronize('delete', ODLNETWORKS, context) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 174, in synchronize 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers self.syncfull(context) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/lockutils.py", line 249, in inner 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers return f(args, *kwargs) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 233, in syncfull 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers self.syncresources(collectionname, context) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 221, in syncresources 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers self.sendjson('post', collectionname, {key: tobesynced}) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mechanismodl.py", line 299, in sendjson 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers r.raiseforstatus() 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/requests/models.py", line 795, in raiseforstatus 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers raise HTTPError(httperrormsg, response=self) 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers HTTPError: 500 Server Error: Internal Server Error 2015-03-04 12:47:43.788 6642 TRACE neutron.plugins.ml2.managers 2015-03-04 12:47:43.794 6642 INFO neutron.tests.unit.ml2.drivers.mechanismlogger [req-eed8ec57-6302-445a-936c-b9613789d458 None] deletenetworkpostcommit called with network settings {'status': u'ACTIVE', 'subnets': [], 'name': u'demo', 'provider:physicalnetwork': None, 'adminstateup': True, 'tenantid': u'c61353d098c5436da1e7ea6e6efc0449', 'provider:networktype': u'gre', 'router:external': False, 'shared': False, 'id': u'51726157-1976-47fa-b035-ba17321b0187', 'provider:segmentationid': 1L} (original settings None) and network segments [{'segmentationid': 1L, 'physicalnetwork': None, 'id': u'b7531fb9-88fb-4eb5-911d-40576298afb1', 'networktype': u'gre'}] 2015-03-04 12:47:43.799 6642 ERROR neutron.plugins.ml2.plugin [req-eed8ec57-6302-445a-936c-b9613789d458 None] mechanismmanager.deletenetworkpostcommit failed 2015-03-04 12:47:43.886 6642 ERROR neutron.api.v2.resource [req-eed8ec57-6302-445a-936c-b9613789d458 None] create failed 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource Traceback (most recent call last): 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource result = method(request=request, **args) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 448, in create 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource obj = objcreator(request.context, **kwargs) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 511, in createnetwork 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource self.deletenetwork(context, result['id']) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/excutils.py", line 82, in exit 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource six.reraise(self.type, self.value, self.tb) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 506, in createnetwork 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource self.mechanismmanager.createnetworkpostcommit(mechcontext) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 330, in createnetworkpostcommit 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource self.callondrivers("createnetworkpostcommit", context) 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 302, in _callondrivers 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource method=methodname 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource MechanismDriverError: createnetworkpostcommit failed. 2015-03-04 12:47:43.886 6642 TRACE neutron.api.v2.resource 2015-03-04 12:47:43.892 6642 INFO neutron.wsgi [req-eed8ec57-6302-445a-936c-b9613789d458 None] 10.203.33.33 - - [04/Mar/2015 12:47:43] "POST /v2.0/networks.json HTTP/1.1" 500 321 1.126096