Objects versions new style config
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
This commit is contained in:
parent
c330a8a661
commit
2bd8d90681
@ -397,6 +397,9 @@ function configure_swift {
|
|||||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server node_timeout 120
|
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server node_timeout 120
|
||||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server conn_timeout 20
|
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server conn_timeout 20
|
||||||
|
|
||||||
|
# Versioned Writes
|
||||||
|
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:versioned_writes allow_versioned_writes true
|
||||||
|
|
||||||
# Configure Ceilometer
|
# Configure Ceilometer
|
||||||
if is_service_enabled ceilometer; then
|
if is_service_enabled ceilometer; then
|
||||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer "set log_level" "WARN"
|
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer "set log_level" "WARN"
|
||||||
@ -489,8 +492,6 @@ EOF
|
|||||||
generate_swift_config_services ${swift_node_config} ${node_number} $(( CONTAINER_PORT_BASE + 10 * (node_number - 1) )) container
|
generate_swift_config_services ${swift_node_config} ${node_number} $(( CONTAINER_PORT_BASE + 10 * (node_number - 1) )) container
|
||||||
iniuncomment ${swift_node_config} DEFAULT bind_ip
|
iniuncomment ${swift_node_config} DEFAULT bind_ip
|
||||||
iniset ${swift_node_config} DEFAULT bind_ip ${SWIFT_SERVICE_LISTEN_ADDRESS}
|
iniset ${swift_node_config} DEFAULT bind_ip ${SWIFT_SERVICE_LISTEN_ADDRESS}
|
||||||
iniuncomment ${swift_node_config} app:container-server allow_versions
|
|
||||||
iniset ${swift_node_config} app:container-server allow_versions "true"
|
|
||||||
|
|
||||||
swift_node_config=${SWIFT_CONF_DIR}/account-server/${node_number}.conf
|
swift_node_config=${SWIFT_CONF_DIR}/account-server/${node_number}.conf
|
||||||
cp ${SWIFT_DIR}/etc/account-server.conf-sample ${swift_node_config}
|
cp ${SWIFT_DIR}/etc/account-server.conf-sample ${swift_node_config}
|
||||||
|
Loading…
Reference in New Issue
Block a user