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

Integration with OpenStack

Hi

I have 3 node architecture set up of OpenStack and now I want to integaret it with OpenDayLight. I am following this link https://wiki.opendaylight.org/view/OpenStackandOpenDaylight (https://wiki.opendaylight.org/view/Op...)

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

to

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/cli.py", line 169, in main CONF.command.func(config, CONF.command.name) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 82, in doupgradedowngrade doalembiccommand(config, cmd, revision, sql=CONF.command.sql) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 60, in doalembiccommand getattr(alembiccommand, cmd)(config, args, *kwargs) File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 124, in upgrade script.runenv() File "/usr/lib/python2.7/dist-packages/alembic/script.py", line 199, in runenv util.loadpythonfile(self.dir, 'env.py') File "/usr/lib/python2.7/dist-packages/alembic/util.py", line 199, in loadpythonfile module = loadmodule(moduleid, path) File "/usr/lib/python2.7/dist-packages/alembic/compat.py", line 55, in loadmodule mod = imp.loadsource(moduleid, path, fp) File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembicmigrations/env.py", line 42, in <module> importutils.importclass(classpath) File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/importutils.py", 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/importutils.py", line 28, in importclass\n import(modstr)\n', 'ValueError: Empty module name\n'])

What is the solution?