10.7. Container reconciler configuration


Find an example container sync realms configuration at etc/container-reconciler.conf-sample in the source code repository.
The available configuration options are:
Table 10.31. Description of configuration options for [DEFAULT] in container-reconciler.conf
Configuration option = Default value Description
log_address = /dev/log Location where syslog sends the logs to
log_custom_handlers = Comma-separated list of functions to call to setup custom log handlers.
log_facility = LOG_LOCAL0 Syslog log facility
log_level = INFO Logging level
log_name = swift Label used when logging
log_statsd_default_sample_rate = 1.0 Defines the probability of sending a sample for any given event or timing measurement.
log_statsd_host = localhost If not set, the StatsD feature is disabled.
log_statsd_metric_prefix = Value will be prepended to every metric sent to the StatsD server.
log_statsd_port = 8125 Port value for the StatsD server.
log_statsd_sample_rate_factor = 1.0 Not recommended to set this to a value less than 1.0, if frequency of logging is too high, tune the log_statsd_default_sample_rate instead.
log_udp_host = If not set, the UDP receiver for syslog is disabled.
log_udp_port = 514 Port value for UDP receiver, if enabled.
swift_dir = /etc/swift Swift configuration directory
user = swift User to run as
Table 10.32. Description of configuration options for [app-proxy-server] in container-reconciler.conf
Configuration option = Default value Description
use = egg:swift#proxy Entry point of paste.deploy in the server
Table 10.33. Description of configuration options for [container-reconciler] in container-reconciler.conf
Configuration option = Default value Description
interval = 30 Minimum time for a pass to take
reclaim_age = 604800 Time elapsed in seconds before an object can be reclaimed
request_tries = 3 No help text available for this option.
Table 10.34. Description of configuration options for [filter-cache] in container-reconciler.conf
Configuration option = Default value Description
use = egg:swift#memcache Entry point of paste.deploy in the server
Table 10.35. Description of configuration options for [filter-catch_errors] in container-reconciler.conf
Configuration option = Default value Description
use = egg:swift#catch_errors Entry point of paste.deploy in the server
Table 10.36. Description of configuration options for [filter-proxy-logging] in container-reconciler.conf
Configuration option = Default value Description
use = egg:swift#proxy_logging Entry point of paste.deploy in the server
Table 10.37. Description of configuration options for [pipeline-main] in container-reconciler.conf
Configuration option = Default value Description
pipeline = catch_errors proxy-logging cache proxy-server No help text available for this option.

10.7.1. Sample container sync reconciler configuration file

[DEFAULT]
# swift_dir = /etc/swift
# user = swift
# You can specify default log routing here if you want:
# log_name = swift
# log_facility = LOG_LOCAL0
# log_level = INFO
# log_address = /dev/log
#
# comma separated list of functions to call to setup custom log handlers.
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
# adapted_logger
# log_custom_handlers =
#
# If set, log_udp_host will override log_address
# log_udp_host =
# log_udp_port = 514
#
# You can enable StatsD logging here:
# log_statsd_host = localhost
# log_statsd_port = 8125
# log_statsd_default_sample_rate = 1.0
# log_statsd_sample_rate_factor = 1.0
# log_statsd_metric_prefix =

[container-reconciler]
# The reconciler will re-attempt reconciliation if the source object is not
# available up to reclaim_age seconds before it gives up and deletes the entry
# in the queue.
# reclaim_age = 604800
# The cycle time of the daemon
# interval = 30
# Server errors from requests will be retried by default
# request_tries = 3

[pipeline:main]
pipeline = catch_errors proxy-logging cache proxy-server

[app:proxy-server]
use = egg:swift#proxy
# See proxy-server.conf-sample for options

[filter:cache]
use = egg:swift#memcache
# See proxy-server.conf-sample for options

[filter:proxy-logging]
use = egg:swift#proxy_logging

[filter:catch_errors]
use = egg:swift#catch_errors
# See proxy-server.conf-sample for options
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.