From 414d1dbb4b029e317e6d757834ff9afca9f09985 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Tue, 12 Dec 2017 13:43:14 +0000 Subject: [PATCH] Add rsync env for account & container replicators In the previous patch to address broken replication in Swift the account and container replicators were missed. Change-Id: I34a58b137dbba99c66e7680546fe85e2ef6131e9 Co-Authored-By: Thorsten Frueauf Partial-Bug: #1733851 --- ansible/roles/swift/tasks/start.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/swift/tasks/start.yml b/ansible/roles/swift/tasks/start.yml index af7ccc0960..7dfbc8404c 100644 --- a/ansible/roles/swift/tasks/start.yml +++ b/ansible/roles/swift/tasks/start.yml @@ -75,6 +75,8 @@ kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" + environment: + RSYNC_CONNECT_PROG: "nc %H {{ swift_rsync_port }}" image: "{{ swift_account_image_full }}" name: "swift_account_replicator" volumes: @@ -127,6 +129,8 @@ kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" + environment: + RSYNC_CONNECT_PROG: "nc %H {{ swift_rsync_port }}" image: "{{ swift_container_image_full }}" name: "swift_container_replicator" volumes: