stack-list fails after 034_raw_template_files db migration

Bug #1277278 reported by andrew plunk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Critical
andrew plunk

Bug Description

After running a heat-manage db_sync (with existing raw_templates in the database). The following error happens when doing a stack-list:

Attribute 'files' does not accept objects of type <type 'unicode'>

This is because the db migration 034_raw_template_files does not default the files column to the same value as the RawTemplate sqlalchemy model.

Changed in heat:
assignee: nobody → andrew plunk (andrew-plunk)
status: New → In Progress
Changed in heat:
importance: Undecided → High
milestone: none → icehouse-3
Changed in heat:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/71672
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=0fc8c56438acad93fc74868ef3bec694efe25246
Submitter: Jenkins
Branch: master

commit 0fc8c56438acad93fc74868ef3bec694efe25246
Author: Andrew Plunk <email address hidden>
Date: Thu Feb 6 16:34:02 2014 -0600

    Fix default raw_template files value in migration

    This was causing the following error when trying to do a stack-list:
    ERROR: Attribute 'files' does not accept objects of type <type 'unicode'>

    Change-Id: Ideee81e44e85fcd8d8f3c9c196702a6c78e5adfd
    Closes-Bug: #1277278

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-3 → 2014.1
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.