charm-swift-storage/templates/container-server.conf
Drew Freiberger d31095d482 Add config option for fallocate_reserve
In order to prevent disks from filling up, add the option to configure
fallocate_reserve parameter in account-server.conf,
container-server.conf, and object-server.conf, as described in
https://docs.openstack.org/swift/latest/admin_guide.html#preventing-disk-full-scenarios

This change adds the config option file-allocation-reserve with a
default of 0.

Change-Id: Ib396a151250bb8d1733f9b5b9cab7eb506c9f6c6
Closes-Bug: 1872069
2020-07-22 17:30:18 -04:00

38 lines
750 B
Plaintext

[DEFAULT]
bind_ip = {{ bind_host }}
bind_port = {{ container_server_port }}
workers = {{ workers }}
{% if node_timeout -%}
node_timeout = {{ node_timeout }}
{%- endif %}
{% if fallocate_reserve != 0 %}
fallocate_reserve = {{ fallocate_reserve }}
{% endif %}
{% if statsd_host %}
log_statsd_host = {{ statsd_host }}
log_statsd_port = {{ statsd_port }}
log_statsd_default_sample_rate = {{ statsd_sample_rate }}
{% endif %}
[pipeline:main]
pipeline = recon container-server
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[app:container-server]
use = egg:swift#container
allow_versions = true
{% if not standalone_replicator %}
[container-replicator]
{% endif %}
[container-updater]
[container-auditor]
[container-sync]