From 7c6e0a43c53c9dfce93ab89c5839198a8460d123 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Wed, 20 Sep 2017 13:47:08 +0200 Subject: [PATCH] Remove rsync from xinetd when upgrading to containerized deployment The rsync service needs to be removed from the xinetd service, otherwise the swift_rsync container will permanently restart because the rsync port (873) is still in use after upgrading. Closes-Bug: 1718403 Change-Id: I283919891d00731c96ef963b0c4137d10144ccaf --- docker/services/swift-storage.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/services/swift-storage.yaml b/docker/services/swift-storage.yaml index e0c1194a37..c565530701 100644 --- a/docker/services/swift-storage.yaml +++ b/docker/services/swift-storage.yaml @@ -480,3 +480,9 @@ outputs: - openstack-swift-container - openstack-swift-object - openstack-swift-account + - name: Remove rsync service from xinetd + tags: step2 + file: state=absent path=/etc/xinetd.d/rsync + - name: Restart xinetd service after rsync removal + tags: step2 + service: name=xinetd state=restarted