Bug 1048319

Summary: heat-manage doesn't work on EL
Product: [Community] RDO Reporter: Gabriele Cerami <gcerami>
Component: openstack-heatAssignee: Pádraig Brady <pbrady>
Status: CLOSED CURRENTRELEASE QA Contact: Amit Ugol <augol>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: gcerami, hateya, jpeeler, pbrady, sdake, srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-heat-2013.2.1-2.0.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1048334 1048335 (view as bug list) Environment:
Last Closed: 2014-01-03 18:41:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gabriele Cerami 2014-01-03 17:31:01 UTC
Description of problem:

heat-* services fail to start on RHEL 6.5

Version-Release number of selected component (if applicable):
Version     : 2014.1
Release     : 0.1.b1.el6

How reproducible:

every time with a fresh install on RHEL 6.5 through packstack

Steps to Reproduce:
1. fresh install 
2. service openstack-heat-api start
3. see logs

Actual results:

does not start

Expected results:

heat should start

Additional info:

at first, heat cannot start due to a database problem.

tried a workaround dropping the db and reinitializing but this is the result

[root@rhel6 heat]# openstack-db --service heat --drop
Please enter the password for the 'root' MySQL user: 
Verified connectivity to MySQL.
Dropping 'heat' database.
Complete!
[root@rhel6 heat]# openstack-db --service heat --init
Please enter the password for the 'root' MySQL user: 
Verified connectivity to MySQL.
Creating 'heat' database.
Initializing the heat database, please wait...
ERROR: No module named sqlalchemy
ERROR 1146 (42S02) at line 1: Table 'heat.migrate_version' doesn't exist
Final sanity check failed.
Please file a bug report on bugzilla.redhat.com against the openstack-heat package.

at this stage, there are 3 candidates for python-sqlalchemy:

- version 0.7 from epel6 that is actually installed
- version 0.5 from rpm-updates. If installed conflicts with 0.7.
- version 0.8 from epel6 that cannot be installed due to priority problems.

Comment 1 Pádraig Brady 2014-01-03 17:47:23 UTC
So this is an issue with low level heat-manage command needed in this work around situation. I'm guessing that heat-manage has not been updated to select the parallel installed version of sqlalchemy and that nova-manage has.