RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1112401 - Missing package from heat dependancy install python-sqlalchemy
Summary: Missing package from heat dependancy install python-sqlalchemy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-heat
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jeff Peeler
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-23 20:57 UTC by Andy del Hierro
Modified: 2014-07-14 17:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-14 17:54:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Andy del Hierro 2014-06-23 20:57:51 UTC
Description of problem:While installed heat with the RDO icehouse repo i ran the command heat-manage and got this error.

# 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


Version-Release number of selected component (if applicable): 2014.1.1-2.1.el6


How reproducible:Install RDO install of icehouse and install heat and try running heat-manage.


Steps to Reproduce:
1.
2.
3.

Actual results:
# 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

Expected results:

list of sub commands.


Additional info:
After install sqlalchemy i got this error 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

Comment 1 Andy del Hierro 2014-06-24 03:19:44 UTC
I just rebuilt my Heat node with RHEL 6.5 and installed RDO Icehouse and then followed the steps to install heat.

When i ran the heat-manage command the sqlalchemy was still missing.  I then yum installed it by hand and now i still the the last traceback rebooted.  So this is repeatable.

Comment 2 Jeff Peeler 2014-06-24 19:58:50 UTC
Can you outline the steps you did for the install? If you're not using packstack, perhaps you forgot to add the EPEL repository (http://openstack.redhat.com/Repositories)?

Comment 3 Andy del Hierro 2014-06-24 20:04:08 UTC
I have a multi node setup so this is a Heat only box.

I ran this command to install the RDO repo.

yum install -y http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm

Also EPEL is part of my base install from my PXE installer.

I then ran this command to install heat.

yum install openstack-heat-api openstack-heat-engine \
  openstack-heat-api-cfn

from this site.

http://docs.openstack.org/icehouse/install-guide/install/yum/content/heat-install.html

I did an upgrade from havana to icehouse and there is not upgrade process on the ops doc on the website for heat.

Comment 4 Jeff Peeler 2014-06-25 20:20:25 UTC
I'm sorry - this appears to be due wrong dependencies. I'll get this put in RDO shortly, but in the meantime you can access new Heat RPMs here:

http://copr-be.cloud.fedoraproject.org/results/jruzicka/rdo-icehouse-epel-6/epel-6-x86_64/openstack-heat-2014.1.1-2.2.el6/

Comment 5 Jeff Peeler 2014-07-14 17:54:41 UTC
The fixed version is now present in RDO.


Note You need to log in before you can comment on or make changes to this bug.