tacker-db-manage does not generate script framework for db upgrade

Bug #1520092 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
yong sheng gong

Bug Description

 tacker-db-manage --database-connection mysql+pymysql://root:root@127.0.0.1/tacker?charset=utf8 revision -m 'tersdf sdfd' --autogenerate does not generate populated upgrade script

This is because we don't register model with cli code.

Changed in tacker:
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

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

Changed in tacker:
status: New → In Progress
Changed in tacker:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/250201
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=eeeb37ab2c8784c9025cbacd3da23cfedd110727
Submitter: Jenkins
Branch: master

commit eeeb37ab2c8784c9025cbacd3da23cfedd110727
Author: gong yong sheng <gong.yongsheng@99cloud.net>
Date: Thu Nov 26 15:04:44 2015 +0800

    Make tacker-db-manage revision 'xxx' --autogenerate work

    We have to make db model visible to tacker-db-manage for it
    to work well.

    Closes-bug: 1520092
    Change-Id: Ie97ee2d8db27856372c03b77b0942a888de778da

Changed in tacker:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/256196

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tacker (stable/liberty)

Change abandoned by gongysh (gong.yongsheng@99cloud.net) on branch: stable/liberty
Review: https://review.openstack.org/256196

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (stable/liberty)

Reviewed: https://review.openstack.org/256196
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=937334881d13f99e6a3157da31c81be0ba848dea
Submitter: Jenkins
Branch: stable/liberty

commit 937334881d13f99e6a3157da31c81be0ba848dea
Author: gong yong sheng <gong.yongsheng@99cloud.net>
Date: Thu Nov 26 15:04:44 2015 +0800

    Make tacker-db-manage revision 'xxx' --autogenerate work

    We have to make db model visible to tacker-db-manage for it
    to work well.

    Closes-bug: 1520092
    Change-Id: Ie97ee2d8db27856372c03b77b0942a888de778da

tags: added: in-stable-liberty
Changed in tacker:
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.