Use mistral-db-manage in devstack
devstack should use the mistral-db-manage tool, like we do on regular installations. The sync_db.py tool is supposed to be used only for UT (sqlite). Change-Id: Icc747d6bc7e249343302335d21501f27c288a299 Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
This commit is contained in:
@@ -101,7 +101,8 @@ function configure_mistral {
|
||||
function init_mistral {
|
||||
# (re)create Mistral database
|
||||
recreate_database mistral utf8
|
||||
$PYTHON $MISTRAL_DIR/tools/sync_db.py --config-file $MISTRAL_CONF_FILE
|
||||
$MISTRAL_BIN_DIR/mistral-db-manage --config-file $MISTRAL_CONF_FILE upgrade head
|
||||
$MISTRAL_BIN_DIR/mistral-db-manage --config-file $MISTRAL_CONF_FILE populate
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user