Merge "Only sync the local cell in superconductor mode"

This commit is contained in:
Zuul
2018-06-07 07:29:30 +00:00
committed by Gerrit Code Review

View File

@@ -772,7 +772,7 @@ function init_nova {
# (Re)create nova databases
for i in $(seq 1 $NOVA_NUM_CELLS); do
recreate_database nova_cell${i}
$NOVA_BIN_DIR/nova-manage --config-file $(conductor_conf $i) db sync
$NOVA_BIN_DIR/nova-manage --config-file $(conductor_conf $i) db sync --local_cell
done
# Migrate nova and nova_cell0 databases.