From 2ed5d0297279dd7934f185dd96363b2ce70bd5a3 Mon Sep 17 00:00:00 2001 From: Zang MingJie Date: Mon, 10 Mar 2014 16:45:35 +0800 Subject: [PATCH] Fix ml2 db migration of subnetroutes table The ml2 db migration path doesn't create subnetroutes table. Therefore installations were partially relying on automatic schema generation. This patch fixes the migration path. Change-Id: I3060dd9538b629ad7277af28008ddde27926dcc4 Closes-Bug: #1290255 --- .../versions/1c33fa3cd1a1_extra_route_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py b/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py index 8c1f2a5630..0116b2371f 100644 --- a/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py +++ b/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py @@ -33,6 +33,7 @@ migration_for_plugins = [ 'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2', 'neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2', 'neutron.plugins.metaplugin.meta_neutron_plugin.MetaPluginV2', + 'neutron.plugins.ml2.plugin.Ml2Plugin', 'neutron.plugins.nec.nec_plugin.NECPluginV2', 'neutron.plugins.nicira.NeutronPlugin.NvpPluginV2', 'neutron.plugins.nicira.NeutronServicePlugin.NvpAdvancedPlugin',