allow_versions is going to be a deprecated option.
Setting up the object versining in the new way.
[1] http://docs.openstack.org/developer/swift/overview_object_versioning.html
Change-Id: Ia520fbb6eb535b08ce83c0cb4bea31e7bba55eb3
| ... | ... |
@@ -397,6 +397,9 @@ function configure_swift {
|
| 397 | 397 |
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server node_timeout 120
|
| 398 | 398 |
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server conn_timeout 20
|
| 399 | 399 |
|
| 400 |
+ # Versioned Writes |
|
| 401 |
+ iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:versioned_writes allow_versioned_writes true
|
|
| 402 |
+ |
|
| 400 | 403 |
# Configure Ceilometer |
| 401 | 404 |
if is_service_enabled ceilometer; then |
| 402 | 405 |
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer "set log_level" "WARN"
|
| ... | ... |
@@ -489,8 +492,6 @@ EOF |
| 489 | 489 |
generate_swift_config_services ${swift_node_config} ${node_number} $(( CONTAINER_PORT_BASE + 10 * (node_number - 1) )) container
|
| 490 | 490 |
iniuncomment ${swift_node_config} DEFAULT bind_ip
|
| 491 | 491 |
iniset ${swift_node_config} DEFAULT bind_ip ${SWIFT_SERVICE_LISTEN_ADDRESS}
|
| 492 |
- iniuncomment ${swift_node_config} app:container-server allow_versions
|
|
| 493 |
- iniset ${swift_node_config} app:container-server allow_versions "true"
|
|
| 494 | 492 |
|
| 495 | 493 |
swift_node_config=${SWIFT_CONF_DIR}/account-server/${node_number}.conf
|
| 496 | 494 |
cp ${SWIFT_DIR}/etc/account-server.conf-sample ${swift_node_config}
|