Matt Riedemann 67aa2195f2 Drop NOVA_CONFIGURE_CELLSV2 variable
Cells v2 has been required for nova since Ocata
so we can drop the conditional logic on the
NOVA_CONFIGURE_CELLSV2 variable, set by the (now branch-specific)
neutron-grenade job. The only remaining check for
the variable is in the from-mitaka script (which might
be irrelevant at this point given mitaka and newton
are both end of life).

Change-Id: Ic3101ef5f82b3341772a591669ff96bf9ab72ab6
2018-09-12 14:09:17 -04:00

10 lines
370 B
Plaintext

function configure_nova_upgrade() {
# Grenade jobs to upgrade from mitaka to newton set NOVA_CONFIGURE_CELLSV2.
if [ "$NOVA_CONFIGURE_CELLSV2" == "True" ]; then
source $TARGET_DEVSTACK_DIR/lib/database
# We need to create the cell0 database before we can sync it
initialize_database_backends
recreate_database nova_cell0
fi
}