Ask Your Question
0

config error when install sahara

asked 2016-03-21 01:05:20 -0500

genie gravatar image

updated 2016-03-21 01:06:05 -0500

when do step 3, got error, i find that the guide is changed, in previous version , it has MySQL config for sahara. and the command sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head

when i follow second method in video, there is no web page http://..../project/data_processing/data_plugins in RDO

https://www.youtube.com/watch?v=zHYfL...

http://savanna.readthedocs.org/en/0.3...

[root@localhost ~(keystone_admin)]# sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head
Traceback (most recent call last):
  File "/usr/bin/sahara-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 110, in main
    CONF.command.func(config, CONF.command.name)
  File "/usr/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 "/usr/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 30, in do_alembic_command
    getattr(alembic_cmd, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/alembic/command.py", line 174, in upgrade
    script.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 397, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 79, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 95, in <module>
    run_migrations_online()
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 79, in run_migrations_online
    poolclass=pool.NullPool)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 51, in create
    entrypoint = u._get_entrypoint()
AttributeError: 'NoneType' object has no attribute '_get_entrypoint'
[root@localhost ~(keystone_admin)]#

image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-29 04:58:33 -0500

The guides you mentioned are highly outdated. Savanna is the old name, and the project was renamed more than two years ago. This is the reference point: http://docs.openstack.org/developer/sahara/ (http://docs.openstack.org/developer/s...)

Which version are you trying to install, on which distribution?

edit flag offensive delete link more

Comments

I didn't notice you mentioned RDO: Sahara is packaged in RDO (the dashboard is not available right now in Mitaka, as it was split in a separate package, but it is part of Horizon with Kilo and Liberty).

ltoscano gravatar imageltoscano ( 2016-03-29 04:59:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-03-21 01:05:20 -0500

Seen: 175 times

Last updated: Mar 29 '16