Db-sync the Ceilometer database

-The Ceilometer database wasn't db-synced till now.
 The code in reset-db is not executed, seems like the
 right way is to put the sync in the API post-configure.
 Other services do it like this.

Change-Id: Ia722669b18cfbf613f3d346aaa0a248e13de7cf5
This commit is contained in:
Ladislav Smola 2014-04-14 11:44:49 +02:00
parent 49b741feac
commit 3560b68c14

View File

@ -1,6 +1,8 @@
#!/bin/bash
set -eux
ceilometer-dbsync --config-file /etc/ceilometer/ceilometer.conf
os-svc-enable -n ceilometer-api
service ceilometer-api restart