4337b753f5
There are several errors related to the swift replication service. The swift storage charm is not properly restarting the services after configuration changes, the correct object_lockup_timeout value (that per the behaviour observerd in our environments must be greater than object_rsync_timeout) and we also needed to fix the object replicator config file to honor the object-handoffs-first configuration. This patch along with the swift proxy-change should fix the currently known replication problems. Closes-bug: #1903762 Depends-on: I87eb23de94e3f2f5b06d44df1f8bd9d2324456a0 Change-Id: I87eb23de94e3f2f5b06d44df1f8bd9d2324c8470
35 lines
808 B
Plaintext
35 lines
808 B
Plaintext
[DEFAULT]
|
|
bind_ip = {{ bind_host }}
|
|
bind_port = {{ object_server_port_rep }}
|
|
workers = {{ workers }}
|
|
|
|
{% 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 object-server
|
|
|
|
[filter:recon]
|
|
use = egg:swift#recon
|
|
recon_cache_path = /var/cache/swift
|
|
|
|
[app:object-server]
|
|
use = egg:swift#object
|
|
threads_per_disk = {{ object_server_threads_per_disk }}
|
|
replication_server = true
|
|
|
|
[object-replicator]
|
|
concurrency = {{ object_replicator_concurrency }}
|
|
rsync_timeout = {{ object_rsync_timeout }}
|
|
lockup_timeout = {{ object_lockup_timeout }}
|
|
{% if object_handoffs_first %}
|
|
handoffs_first = True
|
|
{% endif %}
|
|
{% if http_timeout -%}
|
|
http_timeout = {{ http_timeout }}
|
|
{%- endif %}
|
|
|