Ask is moving to Stack Overflow and! 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

Integration with OpenStack


I have 3 node architecture set up of OpenStack and now I want to integaret it with OpenDayLight. I am following this link (

I changed the below line (beacuse I didnot have /usr/share/neutron/neutron-dist.conf file.) neutron-db-manage --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf \ --config-file /etc/neutron/plugin.ini upgrade head


neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head

I am getting below error.

No handlers could be found for logger "neutron.common.legacy" Traceback (most recent call last): File "/usr/bin/neutron-db-manage", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/", line 169, in main CONF.command.func(config, File "/usr/lib/python2.7/dist-packages/neutron/db/migration/", line 82, in doupgradedowngrade doalembiccommand(config, cmd, revision, sql=CONF.command.sql) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/", line 60, in doalembiccommand getattr(alembiccommand, cmd)(config, args, *kwargs) File "/usr/lib/python2.7/dist-packages/alembic/", line 124, in upgrade script.runenv() File "/usr/lib/python2.7/dist-packages/alembic/", line 199, in runenv util.loadpythonfile(self.dir, '') File "/usr/lib/python2.7/dist-packages/alembic/", line 199, in loadpythonfile module = loadmodule(moduleid, path) File "/usr/lib/python2.7/dist-packages/alembic/", line 55, in loadmodule mod = imp.loadsource(moduleid, path, fp) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembicmigrations/", line 42, in <module> importutils.importclass(classpath) File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/", line 33, in importclass traceback.formatexception(*sys.excinfo()))) ImportError: Class ml2 cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/", line 28, in importclass\n import(modstr)\n', 'ValueError: Empty module name\n'])

What is the solution?