Skip to content

Commit 091d1ff

Browse files
author
Henry Gessau
committed
Neutron auto-discovers installed alembic_migrations
Neutron and its sub-projects have been made more intelligent about the alembic migrations of installed sub-projects. Neutron will now discover the installed migrations and run them automatically. Partial-Bug: #1470625 Change-Id: Iec8993b02400ae306abf520e6e70d86bba042c8d
1 parent ca802bc commit 091d1ff

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

lib/neutron-legacy

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -609,16 +609,6 @@ function init_neutron {
609609
recreate_database $Q_DB_NAME
610610
# Run Neutron db migrations
611611
$NEUTRON_BIN_DIR/neutron-db-manage --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head
612-
for svc in fwaas lbaas vpnaas; do
613-
if [ "$svc" = "vpnaas" ]; then
614-
q_svc="q-vpn"
615-
else
616-
q_svc="q-$svc"
617-
fi
618-
if is_service_enabled $q_svc; then
619-
$NEUTRON_BIN_DIR/neutron-db-manage --service $svc --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head
620-
fi
621-
done
622612
}
623613

624614
# install_neutron() - Collect source and prepare

0 commit comments

Comments
 (0)