Red Hat Bugzilla – Bug 974004
Unused sql_connection option in ceilometer distribution config
Last modified: 2016-01-04 09:47:02 EST
Description of problem:
The default storage driver for ceilometer is mongoDB - this will be used in RHOS 3.0 as the alternative sqlalchemy-based driver is not yet considered production-ready.
However /usr/share/ceilometer/ceilometer-dist.conf contains a default setting for the sql_connection config option, which is only relevant to the sqlalchemy driver.
This is unused and could be confusing for users, as it seems to imply that mysql is used to store metering data.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
grep -c sql_connection /usr/share/ceilometer/ceilometer-dist.conf
Created attachment 760537 [details]
Proposed fix for review.
Auto adding >= MODIFIED bugs to beta
connection = mongodb://localhost:27017/ceilometer
# The backend to use for db (string value)
# The SQLAlchemy connection string used to connect to the
# database (string value)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.