]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Move db migration of ml2 security groups to havana
authorJakub Libosvar <libosvar@redhat.com>
Mon, 27 Jan 2014 17:09:26 +0000 (18:09 +0100)
committerJakub Libosvar <libosvar@redhat.com>
Tue, 11 Feb 2014 19:10:53 +0000 (20:10 +0100)
ml2 plugin is a havana feature. Currently securitygroups table are
created in chain of migration after havana release. It causes db
migration failure when migrating from havana to current head because
securitygroups table is attempted to be created although it was already
created by create_all().

Closes-bug: #1271231
Change-Id: If450bd95de7a5fdfdb2219cfbf7eb0c1323044bb

neutron/db/migration/alembic_migrations/versions/49f5e553f61f_ml2_security_groups.py
neutron/db/migration/alembic_migrations/versions/8f682276ee4_ryu_plugin_quota.py
neutron/db/migration/alembic_migrations/versions/havana_release.py

index 5a348d5a76f7e2ff5e71f42861e1b0ca1e4ee380..b7dd042d22e3cd5e7425243133e71c6822dc565b 100644 (file)
 """security_groups
 
 Revision ID: 49f5e553f61f
-Revises: ed93525fd003
+Revises: 27ef74513d33
 Create Date: 2013-12-21 19:58:17.071412
 
 """
 
 # revision identifiers, used by Alembic.
 revision = '49f5e553f61f'
-down_revision = 'ed93525fd003'
+down_revision = '27ef74513d33'
 
 # Change to ['*'] if this migration applies to all plugins
 
index d6efa81382672ca43ed9a9f002320d6534d4abd6..110f206e33c922b5b9dd34993e34311824fc59a5 100644 (file)
 """ryu plugin quota
 
 Revision ID: 8f682276ee4
-Revises: 49f5e553f61f
+Revises: ed93525fd003
 Create Date: 2014-01-07 15:47:17.349425
 
 """
 
 # revision identifiers, used by Alembic.
 revision = '8f682276ee4'
-down_revision = '49f5e553f61f'
+down_revision = 'ed93525fd003'
 
 # Change to ['*'] if this migration applies to all plugins
 
index a8dc05d9683716fb8fc3485fa12aa3422600bf46..5fd9a363358b37957e46f8fbb59d756d7fbca5ad 100644 (file)
 """havana
 
 Revision ID: havana
-Revises: 1341ed32cc1e
+Revises: 49f5e553f61f
 Create Date: 2013-10-02 00:00:00.000000
 
 """
 
 # revision identifiers, used by Alembic.
 revision = 'havana'
-down_revision = '27ef74513d33'
+down_revision = '49f5e553f61f'
 
 # Change to ['*'] if this migration applies to all plugins