From c2dfac0ea6d0390f73d2eac89361c51f780b62f3 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Mon, 7 Apr 2014 01:04:08 +0800 Subject: [PATCH] Fixed dbsync for Icehouse (using heat-manage db_sync now). Rewritten-From: 36d7934606d2ea3990f06f45b7ad5ba7cd086de6 --- xenial/debian/changelog | 6 ++++++ xenial/debian/heat-common.postinst.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 600ab947..e661663c 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,9 @@ +heat (2014.1~rc1-2) experimental; urgency=low + + * Fixed dbsync for Icehouse (using heat-manage db_sync now). + + -- Thomas Goirand Mon, 07 Apr 2014 00:58:35 +0800 + heat (2014.1~rc1-1) experimental; urgency=low * New upstream release. diff --git a/xenial/debian/heat-common.postinst.in b/xenial/debian/heat-common.postinst.in index 98eacb9c..e2e9539f 100644 --- a/xenial/debian/heat-common.postinst.in +++ b/xenial/debian/heat-common.postinst.in @@ -24,7 +24,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then pkgos_write_admin_creds ${CONF} keystone_authtoken heat pkgos_register_endpoint_postinst heat heat orchestration "Heat Orchestration API" 8004 /v1/'%(tenant_id)s' # This is the equivalent of db-sync: - su heat -c "python -m heat.db.sync" + su heat -c "heat-manage db_sync" chown -R heat:adm /var/log/heat chmod 0750 /var/log/heat -- 2.45.2