Compact ceph-mon files

Long running clusters will see there monitor files grow to large sizes

TrivialFix

Change-Id: Id7961514895cc0a797e1dd30bf29a18d7137ea42
This commit is contained in:
SamYaple 2016-03-13 16:38:14 +00:00
parent e482947165
commit 8e3cc9ae1e

View File

@ -10,6 +10,11 @@ auth cluster required = cephx
auth service required = cephx auth service required = cephx
auth client required = cephx auth client required = cephx
[mon]
# NOTE(SamYaple): The monitor files have been known to grow very large. The
# only fix for that is to compact the files.
mon compact on start = true
{% if service_name is defined and service_name == 'ceph-rgw' %} {% if service_name is defined and service_name == 'ceph-rgw' %}
[client.radosgw.gateway] [client.radosgw.gateway]
host = {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} host = {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}