Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1048334

Summary: heat-manage doesn't work on EL
Product: Red Hat OpenStack Reporter: Pádraig Brady <pbrady>
Component: openstack-heatAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Kevin Whitney <kwhitney>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0CC: gcerami, hateya, jpeeler, pbrady, sbaker, sdake, shardy, srevivo, yeylon
Target Milestone: asyncKeywords: ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1048319 Environment:
Last Closed: 2014-01-06 16:53:05 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 Pádraig Brady 2014-01-03 18:43:32 UTC
+++ This bug was initially created as a clone of Bug #1048319 +++

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.

--- Additional comment from Pádraig Brady on 2014-01-03 12:47:23 EST ---

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.

--- Additional comment from Pádraig Brady on 2014-01-03 13:41:58 EST ---

http://pkgs.fedoraproject.org/cgit/openstack-heat.git/commit/?h=el6-havana&id=30463c61

Comment 2 Steven Dake 2014-01-06 16:53:05 UTC

*** This bug has been marked as a duplicate of bug 1048335 ***