Provide guidance on managing Ceilometer data store.

Bug #1253214 reported by Stephen Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Wishlist
Stephen Gordon

Bug Description

After running an "all in one" setup for ~ 10 days with minimal activity I found that /var/lib/mongodb/journal contained around 3 G of data.

Need to confirm that this is within expectations and provide guidance to administrators on managing the size of their Ceilometer data store - advice from the Ceilometer team is required on this point.

Tags: mongodb
Stephen Gordon (sgordon)
Changed in openstack-manuals:
milestone: none → icehouse
importance: Undecided → Medium
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Medium → Wishlist
Revision history for this message
Stephen Gordon (sgordon) wrote :

Default journalling settings for Ceilometer will allocate around 3 G. Enabling the small-files option can be used to bring this down, but may not be recommended for production environments?

See also:

https://ask.openstack.org/en/question/7358/how-to-safely-clear-ceilometer-database/
http://docs.mongodb.org/manual/tutorial/manage-journaling/
http://docs.mongodb.org/manual/reference/configuration-options/#smallfiles

Changed in openstack-manuals:
assignee: nobody → Stephen Gordon (sgordon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
ZhiQiang Fan (aji-zqfan)
tags: added: mongodb
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/67676
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=3f6acb07c292cdfeea31f02872d35ee8b65fc8c8
Submitter: Jenkins
Branch: master

commit 3f6acb07c292cdfeea31f02872d35ee8b65fc8c8
Author: Stephen Gordon <email address hidden>
Date: Sat Jan 18 14:17:33 2014 -0500

    Add a note highlighting MongoDB disk requirements

    Added a note to highlight the disk requirements of MongoDB
    when database journaling is enabled (default). Provided
    instructions for switching to smaller files and a link
    to instructions for disabling journaling entirely.

    Change-Id: Ie7410018ce664cddd66309df8d1b1bb17abdfcbb
    Closes-Bug: #1253214

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.