Browse code

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

Steve Baker authored on 2013/06/19 10:57:31
Showing 1 changed files
... ...
@@ -158,7 +158,7 @@ function init_heat() {
158 158
     # (re)create heat database
159 159
     recreate_database heat utf8
160 160
 
161
-    $HEAT_DIR/bin/heat-db-setup $os_PACKAGE -r $DATABASE_PASSWORD
161
+    $HEAT_DIR/bin/heat-manage db_sync
162 162
     create_heat_cache_dir
163 163
 }
164 164