ecc1e4a6eb
The rsync prior to v3.1.0 the uid/gid parameter have no effect at all if it runs as normal(non-root) user. Since v3.1.0 these parameter are problematic for normal user because now rsync, regardless of root or non-root, if the parameters are given then it just tries to call setgroups() which is not possible for normal user so errors may occur. swift-object-replicator: @ERROR: setgroups failed\u0000 swift-object-replicator: rsync error: error starting client-server protocol (code 5) at main.c(1648) [sender=3.1.2]\u0000 Either way, these parameters are not needed for swift-rsync container. Change-Id: Ia7fe9f06d7a21a55f52b90c2cc1b2498300e6532 Signed-off-by: Minho Ban <mhban@samsung.com>
29 lines
710 B
Django/Jinja
29 lines
710 B
Django/Jinja
address = {{ api_interface_address }}
|
|
|
|
{% if inventory_hostname in groups['swift-account-server'] %}
|
|
[account]
|
|
max connections = 2
|
|
path = {{ swift_devices_mount_point }}
|
|
read only = false
|
|
use chroot = no
|
|
lock file = /var/lib/swift/lock/account.lock
|
|
{% endif %}
|
|
|
|
{% if inventory_hostname in groups['swift-container-server'] %}
|
|
[container]
|
|
max connections = 4
|
|
path = {{ swift_devices_mount_point }}
|
|
read only = false
|
|
use chroot = no
|
|
lock file = /var/lib/swift/lock/container.lock
|
|
{% endif %}
|
|
|
|
{% if inventory_hostname in groups['swift-object-server'] %}
|
|
[object]
|
|
max connections = 8
|
|
path = {{ swift_devices_mount_point }}
|
|
read only = false
|
|
use chroot = no
|
|
lock file = /var/lib/swift/lock/object.lock
|
|
{% endif %}
|