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
| ... | ... |
@@ -609,16 +609,6 @@ function init_neutron {
|
| 609 | 609 |
recreate_database $Q_DB_NAME |
| 610 | 610 |
# Run Neutron db migrations |
| 611 | 611 |
$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 |
|
| 622 | 612 |
} |
| 623 | 613 |
|
| 624 | 614 |
# install_neutron() - Collect source and prepare |