sahara failure

asked 2019-01-13 13:29:15 -0600

Pepi_par gravatar image

Tried setting up openstack using queens release in ubuntu 16.04 and getting the below error while trying Create the database schema: $ sahara-venv/bin/sahara-db-manage --config-file sahara-venv/etc/sahara.conf upgrade head

error: Traceback (most recent call last): File "sahara-venv/bin/sahara-db-manage", line 11, in <module> sys.exit(main()) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 109, in main CONF.command.func(config, CONF.command.name) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 49, in do_upgrade_downgrade do_alembic_command(config, cmd, revision, sql=CONF.command.sql) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 30, in do_alembic_command getattr(alembic_cmd, cmd)(config, args, *kwargs) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade script.run_env() File "/home/user/sahara-venv/local/lib/python2.7/site-packages/alembic/script/base.py", line 427, in run_env util.load_python_file(self.dir, 'env.py') File "/home/user/sahara-venv/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file module = load_module_py(module_id, path) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/alembic/util/compat.py", line 198, in load_module_py mod = imp.load_source(module_id, path, fp) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 95, in <module> run_migrations_online() File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 79, in run_migrations_online poolclass=pool.NullPool) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine return strategy.create(args, *kwargs) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 51, in create entrypoint = u._get_entrypoint() File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 131, in _get_entrypoint cls = registry.load(name) File "/home/user/sahara-venv/local/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 212, in load (self.group, name)) sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mysql.pymsql

edit retag flag offensive close merge delete