CeilometerStoreEvents set to false, but Ceilometer still stores events

Bug #1657555 reported by Alex Krzos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Pradeep Kilambi

Bug Description

CeilometerStoreEvents defaults to off but events are still saved to mongodb. This causes mongodb to grow in size until the disk runs out because the event TTL is set to -1. store_events doesn't matter because events_dispatcher=database is configured by default thus causing events to be saved into mongodb without any ttl.

CeilometerStoreEvents set to false [0]
CeilometerStoreEvents maps to store_events under agent notification configuration [1]
events_dispatcher defaults to database in ceilometer puppet installer [2]
event_time_to_live defaults to -1 in ceilometer puppet installer [3]

[0] https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/puppet/services/ceilometer-base.yaml#L43
[1] https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/puppet/services/ceilometer-base.yaml#L100
[2] https://github.com/openstack/puppet-ceilometer/blob/stable/newton/manifests/collector.pp#L50
[3] https://github.com/openstack/puppet-ceilometer/blob/fc4a0fd5100128280703dbb3f8e109fb9393a2d0/manifests/init.pp#L235

Changed in tripleo:
importance: Undecided → High
milestone: none → ocata-rc1
status: New → Triaged
Changed in tripleo:
assignee: nobody → Pradeep Kilambi (pkilambi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/422154
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=dcfc58102c3581098394a75c5e2ce1aff676e413
Submitter: Jenkins
Branch: master

commit dcfc58102c3581098394a75c5e2ce1aff676e413
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 18 13:14:46 2017 -0500

    Remove CeilometerStoreEvents parameter

    This is removed upstream, so lets not set it anymore.

    Closes-Bug: #1657555

    Change-Id: I6ca9f51d27d7ca49980a4b3dea4128c7bdc20a0f

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/422184
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=61ef5266abe088dd0854bc3fe7251010bb45cca7
Submitter: Jenkins
Branch: master

commit 61ef5266abe088dd0854bc3fe7251010bb45cca7
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 18 14:44:20 2017 -0500

    Remove store events setting

    store_events is removed upstream from ceilometer.
    Use event_dispatcher instead to redirect events.

    Change-Id: I425a8093046574a2e0b24a6fe64691b247189716
    Closes-Bug: #1657555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 6.0.0.0rc1

This issue was fixed in the openstack/instack-undercloud 6.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0rc1 release candidate.

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.