96 lines
2.8 KiB
Plaintext
96 lines
2.8 KiB
Plaintext
[DEFAULT]
|
|
bind_port = 8080
|
|
workers = 8
|
|
user = swift
|
|
|
|
[pipeline:main]
|
|
# Our traditional pipeline produces a cluster without any authentication,
|
|
# open to access by any client. This is almost always a very bad idea, and
|
|
# it's overridden by OSP Director, so it is likely to go away some time
|
|
# after Newton.
|
|
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
|
|
|
|
# This sample pipeline uses tempauth and is used for SAIO dev work and
|
|
# testing. See below for a pipeline using keystone.
|
|
#pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit tempauth copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
|
|
|
|
# The following pipeline shows keystone integration. Comment out the one
|
|
# above and uncomment this one. Additional steps for integrating keystone are
|
|
# covered further below in the filter sections for authtoken and keystoneauth.
|
|
#pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit authtoken keystone copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
|
|
|
|
[app:proxy-server]
|
|
use = egg:swift#proxy
|
|
allow_account_management = true
|
|
account_autocreate = true
|
|
|
|
# This is a sample used for functional tests in SAIO. Contains well-known
|
|
# passwords.
|
|
#[filter:tempauth]
|
|
#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
|
|
#user_test5_tester5 = testing5 service
|
|
|
|
[filter:healthcheck]
|
|
use = egg:swift#healthcheck
|
|
|
|
[filter:cache]
|
|
use = egg:swift#memcache
|
|
memcache_servers = 127.0.0.1:11211
|
|
|
|
[filter:ratelimit]
|
|
use = egg:swift#ratelimit
|
|
|
|
[filter:catch_errors]
|
|
use = egg:swift#catch_errors
|
|
|
|
[filter:tempurl]
|
|
use = egg:swift#tempurl
|
|
|
|
[filter:proxy-logging]
|
|
use = egg:swift#proxy_logging
|
|
|
|
[filter:bulk]
|
|
use = egg:swift#bulk
|
|
|
|
[filter:slo]
|
|
use = egg:swift#slo
|
|
|
|
[filter:dlo]
|
|
use = egg:swift#dlo
|
|
|
|
[filter:container-quotas]
|
|
use = egg:swift#container_quotas
|
|
|
|
[filter:account-quotas]
|
|
use = egg:swift#account_quotas
|
|
|
|
[filter:gatekeeper]
|
|
use = egg:swift#gatekeeper
|
|
|
|
[filter:container_sync]
|
|
use = egg:swift#container_sync
|
|
|
|
[filter:versioned_writes]
|
|
use = egg:swift#versioned_writes
|
|
|
|
[filter:copy]
|
|
use = egg:swift#copy
|
|
object_post_as_copy = false
|
|
|
|
[filter:keystone]
|
|
use = egg:swift#keystoneauth
|
|
operator_roles = admin, SwiftOperator
|
|
cache = swift.cache
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
project_name = %SERVICE_TENANT_NAME%
|
|
username = %SERVICE_USER%
|
|
password = %SERVICE_PASSWORD%
|
|
auth_url = http://127.0.0.1:5000
|
|
signing_dir = /tmp/keystone-signing-swift
|