Update swift templates for rsync_module
With the current templates, the rsync_module is left as the default value, which has not {meta} included. Setting sync_module has no effect. References: https://github.com/openstack/swift/blob/master/etc/container-server.conf-sample https://github.com/openstack/swift/blob/master/swift/obj/replicator.py#89 Change these templates to set rsync_module instead. Change-Id: I14773a09013b90dd2dd68110173eab1d3ccec3de
This commit is contained in:
parent
23582ec5d7
commit
4cac847f6c
@ -22,7 +22,7 @@ use = egg:swift#account
|
|||||||
|
|
||||||
{% if service_name == 'swift-account-replicator' %}
|
{% if service_name == 'swift-account-replicator' %}
|
||||||
[account-replicator]
|
[account-replicator]
|
||||||
sync_module = {replication_ip}:{meta}:account
|
rsync_module = {replication_ip}:{meta}:account
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if service_name == 'swift-account-reaper' %}
|
{% if service_name == 'swift-account-reaper' %}
|
||||||
|
@ -23,7 +23,7 @@ allow_versions = True
|
|||||||
|
|
||||||
{% if service_name == 'swift-container-replicator' %}
|
{% if service_name == 'swift-container-replicator' %}
|
||||||
[container-replicator]
|
[container-replicator]
|
||||||
sync_module = {replication_ip}:{meta}:container
|
rsync_module = {replication_ip}:{meta}:container
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if service_name == 'swift-container-updater' %}
|
{% if service_name == 'swift-container-updater' %}
|
||||||
|
@ -27,7 +27,7 @@ use = egg:swift#object
|
|||||||
|
|
||||||
[object-replicator]
|
[object-replicator]
|
||||||
{% if service_name == 'swift-object-replicator' %}
|
{% if service_name == 'swift-object-replicator' %}
|
||||||
sync_module = {replication_ip}:{meta}:object
|
rsync_module = {replication_ip}:{meta}:object
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if service_name == 'swift-object-updater' %}
|
{% if service_name == 'swift-object-updater' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user