From 33513db407fc36f4f3bb3b32769a84f305c1edf4 Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Thu, 2 Nov 2017 14:48:14 +0300 Subject: [PATCH] Allow object versioning by default Object versioning is necessary to pass DefCore test suite, i.e. allows Kolla version of OpenStack to be certified as "OpenStack Powered Platform". Change-Id: Id5003f7fe2aebdeffe1cf7ce1b6177a6bca8f5b6 Co-Authored-By: Alexander Reunov Closes-Bug: #1729583 --- ansible/roles/swift/templates/container.conf.j2 | 1 + ansible/roles/swift/templates/proxy-server.conf.j2 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ansible/roles/swift/templates/container.conf.j2 b/ansible/roles/swift/templates/container.conf.j2 index cd3a3d5423..eb4ddbb66e 100644 --- a/ansible/roles/swift/templates/container.conf.j2 +++ b/ansible/roles/swift/templates/container.conf.j2 @@ -15,6 +15,7 @@ pipeline = container-server [app:container-server] use = egg:swift#container +allow_versions = True {% if service_name == 'swift-container-auditor' %} [container-auditor] diff --git a/ansible/roles/swift/templates/proxy-server.conf.j2 b/ansible/roles/swift/templates/proxy-server.conf.j2 index 3527398369..b9d7c5f0a9 100644 --- a/ansible/roles/swift/templates/proxy-server.conf.j2 +++ b/ansible/roles/swift/templates/proxy-server.conf.j2 @@ -78,3 +78,7 @@ use = egg:swift#slo [filter:dlo] use = egg:swift#dlo + +[filter:versioned_writes] +use = egg:swift#versioned_writes +allow_versioned_writes = True