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:
Arnaud M
2025-09-09 23:03:30 +02:00
parent 39b24fc6bc
commit 7ee169349d

View File

@@ -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
}