Bug 974004 - Unused sql_connection option in ceilometer distribution config
Summary: Unused sql_connection option in ceilometer distribution config
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer (Show other bugs)
(Show other bugs)
Version: 3.0
Hardware: Unspecified Unspecified
Target Milestone: beta
: 4.0
Assignee: Pádraig Brady
QA Contact: Pádraig Brady
Keywords: OtherQA
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-13 09:23 UTC by Eoghan Glynn
Modified: 2016-01-04 14:47 UTC (History)
3 users (show)

Fixed In Version: openstack-ceilometer-2013.2-0.10.1.b3.el6ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-20 00:05:52 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed fix for review. (678 bytes, patch)
2013-06-13 09:26 UTC, Eoghan Glynn
eglynn: review? (pbrady)
Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Eoghan Glynn 2013-06-13 09:23:07 UTC
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):


How reproducible:


Steps to Reproduce:
grep -c sql_connection /usr/share/ceilometer/ceilometer-dist.conf

Actual results:

Expected results:

Comment 1 Eoghan Glynn 2013-06-13 09:26:49 UTC
Created attachment 760537 [details]
Proposed fix for review.

Comment 5 Scott Lewis 2013-11-19 16:54:16 UTC
Auto adding >= MODIFIED bugs to beta

Comment 8 Pádraig Brady 2013-12-11 16:42:56 UTC
openstack-ceilometer-common-2013.2-4 has

  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)

Comment 10 errata-xmlrpc 2013-12-20 00:05:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.