Heat configured to use sqlite when mysql expected

Bug #1306764 reported by David Peraza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Released
High
Mark T. Voelker

Bug Description

Heat is working fine but when checking mysql heat db we see no tables.

When checking heat.conf we see:

connection=sqlite:////var/lib/heat/$sqlite_db in [database] section and sql_connection=mysql://heat:heat@198.61.234.162/heat in [DEFAULT] section

Running on trusty with early Icehouse driver

Changed in openstack-cisco:
milestone: none → i.0
David Peraza (dperaza)
description: updated
Revision history for this message
Mark T. Voelker (mvoelker) wrote :

This is likely because the heat.conf file has changed format in Icehouse and the puppet-heat module needs to be update to reflect that. Notice that the module sets the connection information in the [DEFAULT] section:

https://github.com/stackforge/puppet-heat/blob/master/manifests/init.pp#L273-L276

However in Icehouse it should be in the [database] section:

https://github.com/openstack/heat/blob/milestone-proposed/etc/heat/heat.conf.sample#L801-L821

Changed in openstack-cisco:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Mark T. Voelker (mvoelker)
Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Patch for the heat module here:
https://review.openstack.org/#/c/88161/

Changed in openstack-cisco:
status: In Progress → Fix Committed
Changed in openstack-cisco:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.