sqlalchemy migration doesn't work well

Bug #1654105 reported by Feilong Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Medium
Feilong Wang

Bug Description

There are 2 issues with current migration script, though the logic works fine.

1. Sqlalchemy's table name is case sensitive
2. Currently, Zaqar doesn't support poolgroup table. That piece of code should be moved into separated patch when we want to support that.

Feilong Wang (flwang)
description: updated
Changed in zaqar:
assignee: nobody → Fei Long Wang (flwang)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

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

Changed in zaqar:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/416785
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=1ddd9ca5c0df41d740fd58a12b4f4bb1a8926c77
Submitter: Jenkins
Branch: master

commit 1ddd9ca5c0df41d740fd58a12b4f4bb1a8926c77
Author: Fei Long Wang <email address hidden>
Date: Thu Jan 5 13:26:46 2017 +1300

    Fix sqlalchemy migration

    1. Fix the case of table names
    2. Fix the sqlalchemy migration tests

    NOTE: The sqlalchemy migrations test depends on oslo_db's migration
    test which requires mysql user 'openstack_citest' with password
    'openstack_citest' otherwise the test will be skipped.

    Closes-Bug: #1654105

    Change-Id: Ia672440a948fa4784f6dd1aa6d5fed0bc3915663

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

This issue was fixed in the openstack/zaqar 4.0.0.0rc1 release candidate.

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.