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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content