neutron-db-manage error after openstack-Helium integration

asked 2016-05-04 11:54:04 -0700

pedroalsouza gravatar image

Hi Guys,

I follwed the "OpenStack Juno – OpenDaylight Helium SR2 integration over Ubuntu 14.04 (LTS) using GRE Tunnels" tutorial at http://www.medianetlab.gr/publication... , but when i tried to make su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron i received the following 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 router 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']) root@ubuntu:/home/psouza#

NOTE: I am not using the juno release, in fact i am using an Icehouse single node architecture that was working normally before the integration.

Could you please help me

Tks in advance

edit retag flag offensive close merge delete