Use heat-manage to sync heat db.
heat-db-setup has been deprecated and doesn't work when devstack uses postgres and mysql isn't installed. This is causing postgres gating to fail for heat. Change-Id: I84f0a2d40f0033e52c87b6f0c9c7265471134ffe
This commit is contained in:
parent
f606adb4a8
commit
e3111329f1
2
lib/heat
2
lib/heat
@ -158,7 +158,7 @@ function init_heat() {
|
|||||||
# (re)create heat database
|
# (re)create heat database
|
||||||
recreate_database heat utf8
|
recreate_database heat utf8
|
||||||
|
|
||||||
$HEAT_DIR/bin/heat-db-setup $os_PACKAGE -r $DATABASE_PASSWORD
|
$HEAT_DIR/bin/heat-manage db_sync
|
||||||
create_heat_cache_dir
|
create_heat_cache_dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user