Column name error in db migration script

Bug #1655216 reported by xinyanzhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
zhongjun

Bug Description

Upgrade manila version to M failed due to an error column name in a db migration script[1]

[1]https://github.com/openstack/manila/blob/master/manila/db/migrations/alembic/versions/5077ffcc5f1c_add_share_instances.py#L182

should be:
'share_instance_id': share_instances_rows.first().id

TommyLike (hu-husheng)
Changed in manila:
assignee: nobody → TommyLike (hu-husheng)
Changed in manila:
assignee: TommyLike (hu-husheng) → zhongjun (jun-zhongjun)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/418168
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=1c3e93ca08662a2dc4e893e2ef75c9fc45f35646
Submitter: Jenkins
Branch: master

commit 1c3e93ca08662a2dc4e893e2ef75c9fc45f35646
Author: zhongjun2 <email address hidden>
Date: Tue Jan 10 09:14:28 2017 +0800

    Fix column name error in migration script

    Change column 'snapshot_instance_id' to 'share_instance_id',
    also add migration checks for '5077ffcc5f1c_add_share_
    instances' script.

    Closes-Bug: #1655216

    Change-Id: Idfa9a12e101e64a6aaabb2e96b965a4609df4745

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.0.0b3

This issue was fixed in the openstack/manila 4.0.0.0b3 development milestone.

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.