migrate_utils does not migrate data if created_at column does not exist

Bug #1439094 reported by Kanagaraj Manickam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Kanagaraj Manickam

Bug Description

sqlalchemy utils 'migrate_data()' does not migrate the data from old table to new table if the created_at field does not exist. This bug is filed to fix it so that it could be used for all tables.

Changed in heat:
assignee: nobody → Kanagaraj Manickam (kanagaraj-manickam)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/169678

Changed in heat:
status: New → In Progress
Angus Salkeld (asalkeld)
Changed in heat:
importance: Undecided → Medium
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/169678
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=3d86095b766158b5effe1bf7547857b876958517
Submitter: Jenkins
Branch: master

commit 3d86095b766158b5effe1bf7547857b876958517
Author: Kanagaraj Manickam <email address hidden>
Date: Wed Apr 1 15:28:33 2015 +0530

    Fixes migrate_data utils to avoid created_at filed

    migrate_data utils does not migrate table data if
    table does not have column created_at field. It
    fixes this issue.

    Change-Id: Id179b295d8f0e0644420fb589baa5341d3020c7f
    Closes-bug: #1439094

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: kilo-rc1 → 2015.1.0
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.