CollectorService missing storage_conn

Bug #1204133 reported by Andrew Melton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Andrew Melton

Bug Description

When the CollectorService is instantiated, no storage_conn is set up. Thus, when store_events = True is set, a no property 'stroage_conn' expcetion is thrown.

Steps to reproduce:
1) Setup a devstack with ceilometer-api and ceilometer-collector enabled
2) Set store_events = True in [collector] group in ceilometer config
3) Restart ceilometer-collector
4) Boot a new instance
5) Note exceptions thrown when the collector attempts to store the events.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/38309

Changed in ceilometer:
assignee: nobody → Andrew Melton (andrew-melton)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/38309
Committed: http://github.com/openstack/ceilometer/commit/d73b1c5e6b45db7db33a1dfc91fe3d6e3aaf1f12
Submitter: Jenkins
Branch: master

commit d73b1c5e6b45db7db33a1dfc91fe3d6e3aaf1f12
Author: Andrew Melton <email address hidden>
Date: Tue Jul 23 11:10:37 2013 -0400

    Sets storage_conn in CollectorService.

    Fixes bug 1204133

    Storage_conn was not being set when the CollectorService
    was instantiated, thus enabling event storage would cause
    exceptions when trying to store the event.

    Change-Id: Ie7f84e1c266239cf7052fd5aba55577a257d2b1b

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.