Created
February 2, 2015 18:42
-
-
Save imkarrer/253cf81066a7b72a5361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@qdev-swift-tor1-1 ~]# cat /etc/swift/proxy-server.conf | |
# This file is managed by chef. Do not edit it. | |
# | |
[DEFAULT] | |
# bind_ip = 0.0.0.0 | |
# bind_port = 8080 | |
# backlog = 4096 | |
# swift_dir = /etc/swift | |
# workers = 1 | |
# user = swift | |
# cert_file = /etc/swift/proxy.crt | |
# key_file = /etc/swift/proxy.key | |
# expiring_objects_container_divisor = 86400 | |
# You can specify default log routing here if you want: | |
# log_name = swift | |
# log_facility = LOG_LOCAL0 | |
# log_level = INFO | |
###### | |
bind_ip = 10.114.199.91 | |
bind_port = 8080 | |
workers = 8 | |
swift_dir = /etc/swift | |
log_facility = LOG_LOCAL2 | |
log_level = INFO | |
[pipeline:main] | |
pipeline = catch_errors healthcheck proxy-logging cache bulk ratelimit formpost authtoken tempurl keystoneauth container-quotas account-quotas slo proxy-logging proxy-server | |
[app:proxy-server] | |
use = egg:swift#proxy | |
# You can override the default log routing for this app here: | |
# set log_name = proxy-server | |
# set log_facility = LOG_LOCAL0 | |
# set log_level = INFO | |
# set access_log_name = proxy-server | |
# set access_log_facility = LOG_LOCAL0 | |
# set access_log_level = INFO | |
# set log_headers = False | |
# recheck_account_existence = 60 | |
# recheck_container_existence = 60 | |
# object_chunk_size = 8192 | |
# client_chunk_size = 8192 | |
# node_timeout = 10 | |
# client_timeout = 60 | |
# conn_timeout = 0.5 | |
# How long without an error before a node's error count is reset. This will | |
# also be how long before a node is reenabled after suppression is triggered. | |
# error_suppression_interval = 60 | |
# How many errors can accumulate before a node is temporarily ignored. | |
# error_suppression_limit = 10 | |
# If set to 'true' any authorized user may create and delete accounts; if | |
# 'false' no one, even authorized, can. | |
# allow_account_management = false | |
# Set object_post_as_copy = false to turn on fast posts where only the metadata | |
# changes are stored anew and the original data file is kept in place. This | |
# makes for quicker posts; but since the container metadata isn't updated in | |
# this mode, features like container sync won't be able to sync posts. | |
# object_post_as_copy = true | |
# If set to 'true' authorized accounts that do not yet exist within the Swift | |
# cluster will be automatically created. | |
# account_autocreate = false | |
allow_account_management = true | |
account_autocreate = true | |
log_level = INFO | |
[filter:healthcheck] | |
use = egg:swift#healthcheck | |
# You can override the default log routing for this filter here: | |
# set log_name = healthcheck | |
# set log_facility = LOG_LOCAL0 | |
# set log_level = INFO | |
# set log_headers = False | |
[filter:cache] | |
use = egg:swift#memcache | |
# You can override the default log routing for this filter here: | |
# set log_name = cache | |
# set log_facility = LOG_LOCAL0 | |
# set log_level = INFO | |
# set log_headers = False | |
# Default for memcache_servers is to try to read the property from | |
# memcache.conf (see memcache.conf-sample) or lacking that file, it will | |
# default to the value below. You can specify multiple servers separated with | |
# commas, as in: 10.1.2.3:11211,10.1.2.4:11211 | |
# memcache_servers = 127.0.0.1:11211 | |
##### | |
memcache_servers = 10.114.199.91:11211,10.114.199.93:11211 | |
[filter:ratelimit] | |
use = egg:swift#ratelimit | |
# You can override the default log routing for this filter here: | |
# set log_name = ratelimit | |
# set log_facility = LOG_LOCAL0 | |
# set log_level = INFO | |
# set log_headers = False | |
# clock_accuracy should represent how accurate the proxy servers' system clocks | |
# are with each other. 1000 means that all the proxies' clock are accurate to | |
# each other within 1 millisecond. No ratelimit should be higher than the | |
# clock accuracy. | |
# clock_accuracy = 1000 | |
# max_sleep_time_seconds = 60 | |
# log_sleep_time_seconds of 0 means disabled | |
# log_sleep_time_seconds = 0 | |
# allows for slow rates (e.g. running up to 5 sec's behind) to catch up. | |
# rate_buffer_seconds = 5 | |
# account_ratelimit of 0 means disabled | |
account_ratelimit = 0.1 | |
# these are comma separated lists of account names | |
# account_whitelist = a,b | |
# account_blacklist = 91f92cb815644778979d1cf970ea20e1 | |
# with container_limit_x = r | |
# for containers of size x limit requests per second to r. The container | |
# rate will be linearly interpolated from the values given. With the values | |
# below, a container of size 5 will get a rate of 75. | |
# container_ratelimit_0 = 0.1 | |
# container_ratelimit_10 = 50 | |
# container_ratelimit_50 = 20 | |
[filter:catch_errors] | |
use = egg:swift#catch_errors | |
# You can override the default log routing for this filter here: | |
# set log_name = catch_errors | |
# set log_facility = LOG_LOCAL0 | |
# set log_level = INFO | |
# set log_headers = False | |
[filter:keystoneauth] | |
operator_roles = admin, SwiftOperator | |
use = egg:swift#keystoneauth | |
reseller_admin_role = admin | |
[filter:authtoken] | |
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory | |
admin_tenant_name = admin | |
admin_user = admin | |
admin_password = | |
#auth_host = 172.20.-1.10 | |
#auth_port = 35357 | |
auth_protocol = https | |
auth_uri = https://10.120.42.104:443/keystone/admin/ | |
identity_uri = https://10.120.42.104:443/keystone/main/ | |
cache = swift.cache | |
#when we receive commercial certificates, need to turn this OFF | |
insecure = True | |
include_service_catalog = False | |
signing_dir = /tmp/keystone-signing | |
[filter:proxy-logging] | |
use = egg:swift#proxy_logging | |
[filter:tempurl] | |
use = egg:swift#tempurl | |
[filter:formpost] | |
use = egg:swift#formpost | |
[filter:bulk] | |
use = egg:swift#bulk | |
[filter:container-quotas] | |
use = egg:swift#container_quotas | |
[filter:slo] | |
use = egg:swift#slo | |
[filter:account-quotas] | |
use = egg:swift#account_quotas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment