Skip to content
Snippets Groups Projects
Commit 7576dcc4 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Update swift for replication issues"

parents d4b06360 3245201a
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,8 @@ ...@@ -179,6 +179,8 @@
kolla_docker: kolla_docker:
action: "start_container" action: "start_container"
common_options: "{{ docker_common_options }}" common_options: "{{ docker_common_options }}"
environment:
RSYNC_CONNECT_PROG: "nc %H {{ swift_rsync_port }}"
image: "{{ swift_object_image_full }}" image: "{{ swift_object_image_full }}"
name: "swift_object_replicator" name: "swift_object_replicator"
volumes: volumes:
......
...@@ -7,7 +7,8 @@ address = {{ api_interface_address }} ...@@ -7,7 +7,8 @@ address = {{ api_interface_address }}
max connections = 2 max connections = 2
path = {{ swift_devices_mount_point }} path = {{ swift_devices_mount_point }}
read only = false read only = false
lock file = /var/lock/account.lock use chroot = no
lock file = /var/lib/swift/lock/account.lock
{% endif %} {% endif %}
{% if inventory_hostname in groups['swift-container-server'] %} {% if inventory_hostname in groups['swift-container-server'] %}
...@@ -15,7 +16,8 @@ lock file = /var/lock/account.lock ...@@ -15,7 +16,8 @@ lock file = /var/lock/account.lock
max connections = 4 max connections = 4
path = {{ swift_devices_mount_point }} path = {{ swift_devices_mount_point }}
read only = false read only = false
lock file = /var/lock/container.lock use chroot = no
lock file = /var/lib/swift/lock/container.lock
{% endif %} {% endif %}
{% if inventory_hostname in groups['swift-object-server'] %} {% if inventory_hostname in groups['swift-object-server'] %}
...@@ -23,5 +25,6 @@ lock file = /var/lock/container.lock ...@@ -23,5 +25,6 @@ lock file = /var/lock/container.lock
max connections = 8 max connections = 8
path = {{ swift_devices_mount_point }} path = {{ swift_devices_mount_point }}
read only = false read only = false
lock file = /var/lock/object.lock use chroot = no
lock file = /var/lib/swift/lock/object.lock
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment