Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sahara install problem

Hey , bothered again! I have installed juno with rdo-allinone in my own CentOS 7 computer successfully. But when I try to install sahara, I met some problem. Here is the steps I have done:

yum install openstack-sahara

after this installed, I run sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head' and came out

Traceback (most recent call last):
  File "/usr/bin/sahara-db-manage", line 10, in <module>
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/", line 110, in main
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/", line 49, in do_upgrade_downgrade
    do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/", line 30, in do_alembic_command
    getattr(alembic_cmd, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/alembic/", line 125, in upgrade
  File "/usr/lib/python2.7/site-packages/alembic/", line 203, in run_env
    util.load_python_file(self.dir, '')
  File "/usr/lib/python2.7/site-packages/alembic/", line 212, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/", line 58, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/", line 95, in <module>
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/", line 79, in run_migrations_online
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/", line 346, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/", line 51, in create
    dialect_cls = u.get_dialect()
AttributeError: 'NoneType' object has no attribute 'get_dialect'

I don't know what's wrong with my settings. Can you help me?