]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Embrane Plugin fails alembic migrations
authorIvar Lazzaro <ivar@embrane.com>
Mon, 3 Mar 2014 19:29:17 +0000 (11:29 -0800)
committerIvar Lazzaro <ivar@embrane.com>
Mon, 3 Mar 2014 21:31:21 +0000 (13:31 -0800)
Alembic migration from revision f44ab9871cd6 to 2eeaf963a447 is failing on
Embrane Plugin because the floatingips table doesn't exist.

The problem happens because the plugin is actually inheriting from OVS's Plugin,
and therefore it doesn't take part of the correct migration path at installation time.

As far as I have investigated, adding the support on ext_gw_mode and l3_support is enough to solve the problem.

Change-Id: Ide740df34d06d87fab50cf6468c5d753cb46f112
Closes-bug: 1287330

neutron/db/migration/alembic_migrations/versions/128e042a2b68_ext_gw_mode.py
neutron/db/migration/alembic_migrations/versions/2c4af419145b_l3_support.py

index 9fc53cca928fbbfd5eaaeb0465903cc34f490329..5070c0a82b0a9fc89afa486874c9b86f21576558 100644 (file)
@@ -40,7 +40,8 @@ migration_for_plugins = [
     'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2',
     'neutron.plugins.ryu.ryu_neutron_plugin.RyuNeutronPluginV2',
     'neutron.plugins.vmware.plugin.NsxPlugin',
-    'neutron.plugins.vmware.plugin.NsxServicePlugin'
+    'neutron.plugins.vmware.plugin.NsxServicePlugin',
+    'neutron.plugins.embrane.plugins.embrane_ovs_plugin.EmbraneOvsPlugin'
 ]
 
 from alembic import op
index 4499c4aeed06d99f45b1b5945fb5d87efdae00f7..40b53d49913fc51103c91c6627b95410cd7d5982 100644 (file)
@@ -37,6 +37,7 @@ migration_for_plugins = [
     'neutron.plugins.nicira.NeutronServicePlugin.NvpAdvancedPlugin',
     'neutron.plugins.vmware.plugin.NsxPlugin',
     'neutron.plugins.vmware.plugin.NsxServicePlugin',
+    'neutron.plugins.embrane.plugins.embrane_ovs_plugin.EmbraneOvsPlugin'
 ]
 
 from neutron.db import migration