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:
Steve Baker 2013-06-19 13:57:31 +12:00
parent f606adb4a8
commit e3111329f1

View File

@ -158,7 +158,7 @@ function init_heat() {
# (re)create heat database
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
}