path: root/test/functional_auth/gswauth/conf/proxy-server.conf
diff options
authorThiago da Silva <>2013-10-31 12:02:42 -0400
committerLuis Pabon <>2013-11-04 11:48:33 -0800
commit621c8b232710c5d827cb56ac776e07fad8d1bee0 (patch)
tree7cabd22c7c14e660e0e829686a70b9e8b9204925 /test/functional_auth/gswauth/conf/proxy-server.conf
parent3d68776d358b5c081c6a7aa7892598df5b6b56ed (diff)
first gswauth functional tests
commiting first gswauth functional tests. Currently there are two tests, to create account and to create an user. Each test is self contained in that it goes through the process of creating and deleting accounts and users as needed. More tests will be added shortly. Change-Id: I26d577790aed8c79c9de11f224516423e9769962 Signed-off-by: Thiago da Silva <> Reviewed-on: Reviewed-by: Luis Pabon <> Tested-by: Luis Pabon <> Signed-off-by: Thiago da Silva <> Reviewed-on:
Diffstat (limited to 'test/functional_auth/gswauth/conf/proxy-server.conf')
1 files changed, 72 insertions, 0 deletions
diff --git a/test/functional_auth/gswauth/conf/proxy-server.conf b/test/functional_auth/gswauth/conf/proxy-server.conf
new file mode 100644
index 0000000..ddb0290
--- /dev/null
+++ b/test/functional_auth/gswauth/conf/proxy-server.conf
@@ -0,0 +1,72 @@
+bind_port = 8080
+user = root
+# Consider using 1 worker per CPU
+workers = 1
+pipeline = catch_errors healthcheck proxy-logging cache swauth proxy-logging proxy-server
+use = egg:gluster_swift#proxy
+log_facility = LOG_LOCAL1
+log_level = WARN
+# The API allows for account creation and deletion, but since Gluster/Swift
+# automounts a Gluster volume for a given account, there is no way to create
+# or delete an account. So leave this off.
+allow_account_management = true
+account_autocreate = true
+# Only need to recheck the account exists once a day
+recheck_account_existence = 86400
+# May want to consider bumping this up if containers are created and destroyed
+# infrequently.
+recheck_container_existence = 60
+# Timeout clients that don't read or write to the proxy server after 5
+# seconds.
+client_timeout = 5
+# Give more time to connect to the object, container or account servers in
+# cases of high load.
+conn_timeout = 5
+# For high load situations, once connected to an object, container or account
+# server, allow for delays communicating with them.
+node_timeout = 60
+# May want to consider bumping up this value to 1 - 4 MB depending on how much
+# traffic is for multi-megabyte or gigabyte requests; perhaps matching the
+# stripe width (not stripe element size) of your storage volume is a good
+# starting point. See below for sizing information.
+object_chunk_size = 65536
+# If you do decide to increase the object_chunk_size, then consider lowering
+# this value to one. Up to "put_queue_length" object_chunk_size'd buffers can
+# be queued to the object server for processing. Given one proxy server worker
+# can handle up to 1,024 connections, by default, it will consume 10 * 65,536
+# * 1,024 bytes of memory in the worse case (default values). Be sure the
+# amount of memory available on the system can accommodate increased values
+# for object_chunk_size.
+put_queue_depth = 10
+use = egg:swift#catch_errors
+use = egg:swift#proxy_logging
+use = egg:swift#healthcheck
+use = egg:swift#tempauth
+user_admin_admin = admin .admin .reseller_admin
+user_test_tester = testing .admin
+user_test2_tester2 = testing2 .admin
+user_test_tester3 = testing3
+use = egg:gluster_swift#swauth
+set log_name = swauth
+super_admin_key = swauthkey
+use = egg:swift#memcache
+# Update this line to contain a comma separated list of memcache servers
+# shared by all nodes running the proxy-server service.
+memcache_servers = localhost:11211