]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fixed the dbsync to the new thing upstream is using
authorThomas Goirand <thomas@goirand.fr>
Wed, 22 May 2013 15:58:41 +0000 (23:58 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 22 May 2013 15:58:41 +0000 (23:58 +0800)
Rewritten-From: 7e2c6d896cd211d46bf61190723091fc6caafeaa

xenial/debian/changelog
xenial/debian/heat-engine.postinst.in

index 52043e0aa42d719fea28fc8e3505cb6da2d97b97..1097d081b74817edae0d2033a03023ef25ff7222 100644 (file)
@@ -1,3 +1,10 @@
+heat (2013.1-4) unstable; urgency=low
+
+  * Fixed the dbsync to the new thing upstream is using (it was crashing the
+    postinst).
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 22 May 2013 23:57:49 +0800
+
 heat (2013.1-3) unstable; urgency=low
 
   * Added missing dbconfig-common depends (Closes: #709126). Thanks to Andrea
index 0b6db676855462f13705a829d9324e545ae9b7d3..bf1f08536aee539fcd2ae05bb8ee90b6e201390f 100644 (file)
@@ -15,8 +15,7 @@ if [ "$1" = "configure" ] ; then
        pkgos_dbc_postinst ${CONF} DEFAULT sql_connection heat $@
 
        # This is the equivalent of db-sync:
-       su heat -c "python -m heat.db.sqlalchemy.manage version_control"
-       su heat -c "python -m heat.db.sqlalchemy.manage upgrade"
+       su heat -c  "python -m heat.db.sync"
 fi
 
 #DEBHELPER#