Models and migrations are out of sync, not tested

Bug #1605675 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-bgpvpn
Fix Released
Undecided
Henry Gessau
networking-l2gw
Fix Released
Undecided
Henry Gessau
networking-sfc
Fix Released
Undecided
Henry Gessau

Bug Description

The sqlalchemy models and alembic migrations are wildly out of sync.
There is no test to check that they are in sync.

Henry Gessau (gessau)
Changed in networking-l2gw:
assignee: nobody → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-l2gw (master)

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

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

Reviewed: https://review.openstack.org/346091
Committed: https://git.openstack.org/cgit/openstack/networking-l2gw/commit/?id=d70c6b135749ef2315627de9e826c10fc92f620e
Submitter: Jenkins
Branch: master

commit d70c6b135749ef2315627de9e826c10fc92f620e
Author: Henry Gessau <email address hidden>
Date: Fri Jul 22 11:31:52 2016 -0400

    Bring models in sync with migrations, add test

    Bring the sqlalchemy models in sync with the alembic migrations.

    Add the neutron standard model-migration sync test. The test is added
    to the unit test env since l2gw does not have a functional job
    yet. This requires that l2gw uses the python-db-jobs template in the
    gate.

    (Also remove downgrades since they are not supported.)

    Closes-Bug: #1605675

    Depends-On: I3a8ea02b86846e9a8a7d7f2aee9700ca952b0248

    Change-Id: Ib73f554d5f0bbfbe25a0f6ad33b23e4584800e21

Changed in networking-l2gw:
status: In Progress → Fix Released
Revision history for this message
Henry Gessau (gessau) wrote :
Changed in bgpvpn:
status: New → Fix Released
assignee: nobody → Henry Gessau (gessau)
Changed in networking-sfc:
status: New → In Progress
assignee: nobody → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-sfc (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-sfc (master)

Reviewed: https://review.openstack.org/354359
Committed: https://git.openstack.org/cgit/openstack/networking-sfc/commit/?id=345a4b7bac99f4635d789cbde5a5fd8652ff332c
Submitter: Jenkins
Branch: master

commit 345a4b7bac99f4635d789cbde5a5fd8652ff332c
Author: Henry Gessau <email address hidden>
Date: Fri Jul 29 02:54:11 2016 -0400

    Bring models in sync with migrations, add test

    Closes-Bug: #1605675

    Depends-On: I00d491a4161478a32b9042d64f6555c2c5d5192c

    Change-Id: I1094da60032a932bca909a752cb8c35719fc3d45

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

This issue was fixed in the openstack/networking-sfc 3.0.0 release.

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.