Ask Your Question
1

heat-manage reports ImportError: No module named sqlalchemy

asked 2014-06-23 22:35:06 -0500

Gamekiller77 gravatar image

Running RHEL 6.5 RDO Icehouse

When i run heat-manage db-sync after a clean install or upgrade i get this same traceback.

# heat-manage 
Traceback (most recent call last):
  File "/usr/bin/heat-manage", line 31, in <module>
    from heat.cmd import manage
  File "/usr/lib/python2.6/site-packages/heat/cmd/manage.py", line 24, in <module>
    from heat.db import api
  File "/usr/lib/python2.6/site-packages/heat/db/api.py", line 42, in <module>
    IMPL = db_api.DBAPI(backend_mapping=_BACKEND_MAPPING)
  File "/usr/lib/python2.6/site-packages/heat/openstack/common/db/api.py", line 53, in __init__
    backend_mod = importutils.import_module(backend_path)
  File "/usr/lib/python2.6/site-packages/heat/openstack/common/importutils.py", line 57, in import_module
    __import__(import_str)
  File "/usr/lib/python2.6/site-packages/heat/db/sqlalchemy/api.py", line 21, in <module>
    import sqlalchemy

ImportError: No module named sqlalchemy

I then looked and notice sqlalchemy python package was not installed at all so i yum install it and it installed just fine.

I then ran the heat-manage command just to get the switchs and i get this traceback now.

heat-manage
Traceback (most recent call last):
  File "/usr/bin/heat-manage", line 31, in <module>
    from heat.cmd import manage
  File "/usr/lib/python2.6/site-packages/heat/cmd/manage.py", line 24, in <module>
    from heat.db import api
  File "/usr/lib/python2.6/site-packages/heat/db/api.py", line 42, in <module>
    IMPL = db_api.DBAPI(backend_mapping=_BACKEND_MAPPING)
  File "/usr/lib/python2.6/site-packages/heat/openstack/common/db/api.py", line 53, in __init__
    backend_mod = importutils.import_module(backend_path)
  File "/usr/lib/python2.6/site-packages/heat/openstack/common/importutils.py", line 57, in import_module
    __import__(import_str)
  File "/usr/lib/python2.6/site-packages/heat/db/sqlalchemy/api.py", line 24, in <module>
    cfg.CONF.import_opt('max_events_per_stack', 'heat.common.config')
  File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1796, in import_opt
    __import__(module_str)
  File "/usr/lib/python2.6/site-packages/heat/common/config.py", line 26, in <module>
    from heat.common import wsgi
  File "/usr/lib/python2.6/site-packages/heat/common/wsgi.py", line 39, in <module>
    from paste import deploy
ImportError: cannot import name deploy

Again this is from and upgrade from havana to icehouse and a clean wipe and reinstall i get this same error.

Any insight in to what going on would really help.

Also here is the url to the bug i filed. https://bugzilla.redhat.com/show_bug....

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-15 13:07:12 -0500

rbowen gravatar image

This issue is closed and in the current release as of 2014-07-14

More details may be seen at the ticket itself, at https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

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: 2014-06-23 22:35:06 -0500

Seen: 849 times

Last updated: Aug 15 '14