Update config to support upgrade with db sync in maintainer scripts
This commit is contained in:
@@ -18,3 +18,6 @@ os_username = {{ admin_user }}
|
|||||||
os_password = {{ admin_password }}
|
os_password = {{ admin_password }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
logdir = /var/log/ceilometer
|
logdir = /var/log/ceilometer
|
||||||
|
# NOTE(jamespage) this allows the db sync process to run OK for upgrades
|
||||||
|
# fixed in icehouse
|
||||||
|
database_connection=sqlite:////var/lib/ceilometer/ceilometer.sqlite
|
||||||
|
@@ -20,3 +20,8 @@ os_password = {{ admin_password }}
|
|||||||
[publisher_rpc]
|
[publisher_rpc]
|
||||||
metering_secret = {{ metering_secret }}
|
metering_secret = {{ metering_secret }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
[database]
|
||||||
|
# NOTE(jamespage) this allows the db sync process to run OK for upgrades
|
||||||
|
# fixed in icehouse
|
||||||
|
backend=sqlalchemy
|
||||||
|
connection=sqlite:////var/lib/ceilometer/$sqlite_db
|
||||||
|
Reference in New Issue
Block a user