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

MECHANISM_DRIVERS for openstack controller

Do I need to change MECHANISM_DRIVERS for Openstack controller also, I changes it on network node, and compute nodes when i make the driver for openstack controller open daylight, it gave me errors.

I want to integrate openstack with open daylight,

    2016-03-07 15:32:04.595 8315 INFO neutron.plugins.ml2.db [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] Added segment 640818d9-3344-4d8c-8964-ecb25d90aff1 of type vxlan for network 051382f7-2869-4666-ac35-fd7fa89e62fd
2016-03-07 15:32:04.617 8315 ERROR neutron.plugins.ml2.managers [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] Mechanism driver 'opendaylight' failed in create_network_postcommit
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 327, in _call_on_drivers
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 69, in create_network_postcommit
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     self.odl_drv.synchronize('create', odl_const.ODL_NETWORKS, context)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 56, in synchronize
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     self.sync_full(context)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     return f(*args, **kwargs)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 118, in sync_full
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     self.sync_resources(collection_name, context)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 104, in sync_resources
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     self.client.sendjson('post', collection_name, {key: to_be_synced})
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py", line 42, in sendjson
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     r.raise_for_status()
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/requests/models.py", line 825, in raise_for_status
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers     raise HTTPError(http_error_msg, response=self)
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers HTTPError: 404 Client Error: Not Found
2016-03-07 15:32:04.617 8315 TRACE neutron.plugins.ml2.managers 
2016-03-07 15:32:04.619 8315 ERROR neutron.plugins.ml2.plugin [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] mechanism_manager.create_network_postcommit failed, deleting network '051382f7-2869-4666-ac35-fd7fa89e62fd'
2016-03-07 15:32:04.682 8315 ERROR neutron.plugins.ml2.managers [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] Mechanism driver 'opendaylight' failed in delete_network_postcommit
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 327, in _call_on_drivers
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 75, in delete_network_postcommit
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     self.odl_drv.synchronize('delete', odl_const.ODL_NETWORKS, context)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 56, in synchronize
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     self.sync_full(context)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     return f(*args, **kwargs)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 118, in sync_full
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     self.sync_resources(collection_name, context)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/ml2/mech_driver.py", line 104, in sync_resources
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     self.client.sendjson('post', collection_name, {key: to_be_synced})
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py", line 42, in sendjson
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     r.raise_for_status()
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/requests/models.py", line 825, in raise_for_status
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers     raise HTTPError(http_error_msg, response=self)
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers HTTPError: 404 Client Error: Not Found
2016-03-07 15:32:04.682 8315 TRACE neutron.plugins.ml2.managers 
2016-03-07 15:32:04.684 8315 ERROR neutron.plugins.ml2.plugin [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] mechanism_manager.delete_network_postcommit failed
2016-03-07 15:32:04.687 8315 ERROR neutron.api.v2.resource [req-75507bdd-fa37-477b-8d90-d97d07ab4c5d ] create failed
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 83, in resource
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 461, in create
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 622, in create_network
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     self.delete_network(context, result['id'])
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 617, in create_network
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     self.mechanism_manager.create_network_postcommit(mech_context)
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 367, in create_network_postcommit
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     self._call_on_drivers("create_network_postcommit", context)
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 338, in _call_on_drivers
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource     method=method_name
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource MechanismDriverError: create_network_postcommit failed.
2016-03-07 15:32:04.687 8315 TRACE neutron.api.v2.resource