From 89b22e439576e27667a1d32b3d49add55a583434 Mon Sep 17 00:00:00 2001 From: Ilya Tyaptin Date: Wed, 20 Aug 2014 15:13:06 +0400 Subject: Add upgrading alarm storage in dbsync Currently we don't upgrade alarm storage in ceilometer-dbsync command. This CR fix it. Change-Id: Ie170a3a83c917c6a94f33dc2b39de1204ee946b8 Closes-bug: #1359159 --- ceilometer/cmd/storage.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ceilometer') diff --git a/ceilometer/cmd/storage.py b/ceilometer/cmd/storage.py index c5e9efa3..d588d518 100644 --- a/ceilometer/cmd/storage.py +++ b/ceilometer/cmd/storage.py @@ -30,6 +30,7 @@ LOG = logging.getLogger(__name__) def dbsync(): service.prepare_service() storage.get_connection_from_config(cfg.CONF).upgrade() + storage.get_connection_from_config(cfg.CONF, 'alarm').upgrade() def expirer(): -- cgit v1.2.1