From 5a3716d8b4adde6b3500e9e8bc7b95107118546d Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Fri, 21 Dec 2012 11:57:42 +0000 Subject: [PATCH] Added a patch for ceilometer-dbsync to work. Rewritten-From: 95dc3c4dcda66a58957ac4a288071583665156b5 --- trusty/debian/patches/fixes-ceilometer-dbsync.patch | 12 ++++++++++++ trusty/debian/patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 trusty/debian/patches/fixes-ceilometer-dbsync.patch diff --git a/trusty/debian/patches/fixes-ceilometer-dbsync.patch b/trusty/debian/patches/fixes-ceilometer-dbsync.patch new file mode 100644 index 0000000..ec6700b --- /dev/null +++ b/trusty/debian/patches/fixes-ceilometer-dbsync.patch @@ -0,0 +1,12 @@ +Description: Fixes ceilometer-dbsync which was failing +Author: Julien Danjou +Origin: upstream, https://github.com/openstack/ceilometer/commit/eada7872f2cf935d9a6e8e7cd410a895bee979e7 + +--- ceilometer-2013.1~g0.4+23ff2f9bbf.orig/bin/ceilometer-dbsync ++++ ceilometer-2013.1~g0.4+23ff2f9bbf/bin/ceilometer-dbsync +@@ -25,4 +25,4 @@ from ceilometer.openstack.common import + + if __name__ == '__main__': + service.prepare_service(sys.argv) +- storage.get_connection(cfg.CONF).db_sync() ++ storage.get_connection(cfg.CONF).upgrade() diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series index ed81c18..dc79cd5 100644 --- a/trusty/debian/patches/series +++ b/trusty/debian/patches/series @@ -1,3 +1,4 @@ install-missing-files.patch removes-pecan-from-toolspip-requires.patch updates-versioninfo.patch +fixes-ceilometer-dbsync.patch -- 2.32.3