How to shrink the ceilometer mongodb DB in case it is fragmented?

Solution Verified - Updated -

Issue

How to shrink the mongodb ceilometer DB in case it is fragmented?

[root@ctrl0 ~]# du -hs /var/lib/mongodb/
49G /var/lib/mongodb/

[root@ctrl1 ~]#  du -hs /var/lib/mongodb/
56G /var/lib/mongodb/

[root@ctrl2 ~]# du -hs /var/lib/mongodb/
68G /var/lib/mongodb/

Environment

  • Red Hat OpenStack 6.0
  • Red Hat OpenStack 7.0
  • Red Hat OpenStack 8.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.