Update saio sample config files
Added healthcheck middleware to account, container, object servers Added the s3api, keymaster, encryption config to the proxy config file to make it easy to enable it. Change-Id: I96f120c5bc416e9aba388cbfa6c30b648d6ade2f
This commit is contained in:
parent
b15111abe7
commit
0887f0985b
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon account-server
|
||||
pipeline = healthcheck recon account-server
|
||||
|
||||
[app:account-server]
|
||||
use = egg:swift#account
|
||||
@ -19,6 +19,9 @@ use = egg:swift#account
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[account-replicator]
|
||||
rsync_module = {replication_ip}::account{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift2
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon account-server
|
||||
pipeline = healthcheck recon account-server
|
||||
|
||||
[app:account-server]
|
||||
use = egg:swift#account
|
||||
@ -19,6 +19,9 @@ use = egg:swift#account
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[account-replicator]
|
||||
rsync_module = {replication_ip}::account{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift3
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon account-server
|
||||
pipeline = healthcheck recon account-server
|
||||
|
||||
[app:account-server]
|
||||
use = egg:swift#account
|
||||
@ -19,6 +19,9 @@ use = egg:swift#account
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[account-replicator]
|
||||
rsync_module = {replication_ip}::account{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift4
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon account-server
|
||||
pipeline = healthcheck recon account-server
|
||||
|
||||
[app:account-server]
|
||||
use = egg:swift#account
|
||||
@ -19,6 +19,9 @@ use = egg:swift#account
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[account-replicator]
|
||||
rsync_module = {replication_ip}::account{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon container-server
|
||||
pipeline = healthcheck recon container-server
|
||||
|
||||
[app:container-server]
|
||||
use = egg:swift#container
|
||||
@ -19,6 +19,9 @@ use = egg:swift#container
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[container-replicator]
|
||||
rsync_module = {replication_ip}::container{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift2
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon container-server
|
||||
pipeline = healthcheck recon container-server
|
||||
|
||||
[app:container-server]
|
||||
use = egg:swift#container
|
||||
@ -19,6 +19,9 @@ use = egg:swift#container
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[container-replicator]
|
||||
rsync_module = {replication_ip}::container{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift3
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon container-server
|
||||
pipeline = healthcheck recon container-server
|
||||
|
||||
[app:container-server]
|
||||
use = egg:swift#container
|
||||
@ -19,6 +19,9 @@ use = egg:swift#container
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[container-replicator]
|
||||
rsync_module = {replication_ip}::container{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift4
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon container-server
|
||||
pipeline = healthcheck recon container-server
|
||||
|
||||
[app:container-server]
|
||||
use = egg:swift#container
|
||||
@ -19,6 +19,9 @@ use = egg:swift#container
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[container-replicator]
|
||||
rsync_module = {replication_ip}::container{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon object-server
|
||||
pipeline = healthcheck recon object-server
|
||||
|
||||
[app:object-server]
|
||||
use = egg:swift#object
|
||||
@ -19,6 +19,9 @@ use = egg:swift#object
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[object-replicator]
|
||||
rsync_module = {replication_ip}::object{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift2
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon object-server
|
||||
pipeline = healthcheck recon object-server
|
||||
|
||||
[app:object-server]
|
||||
use = egg:swift#object
|
||||
@ -19,6 +19,9 @@ use = egg:swift#object
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[object-replicator]
|
||||
rsync_module = {replication_ip}::object{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift3
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon object-server
|
||||
pipeline = healthcheck recon object-server
|
||||
|
||||
[app:object-server]
|
||||
use = egg:swift#object
|
||||
@ -19,6 +19,9 @@ use = egg:swift#object
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[object-replicator]
|
||||
rsync_module = {replication_ip}::object{replication_port}
|
||||
|
||||
|
@ -11,7 +11,7 @@ recon_cache_path = /var/cache/swift4
|
||||
eventlet_debug = true
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = recon object-server
|
||||
pipeline = healthcheck recon object-server
|
||||
|
||||
[app:object-server]
|
||||
use = egg:swift#object
|
||||
@ -19,6 +19,9 @@ use = egg:swift#object
|
||||
[filter:recon]
|
||||
use = egg:swift#recon
|
||||
|
||||
[filter:healthcheck]
|
||||
use = egg:swift#healthcheck
|
||||
|
||||
[object-replicator]
|
||||
rsync_module = {replication_ip}::object{replication_port}
|
||||
|
||||
|
@ -77,6 +77,20 @@ use = egg:swift#listing_formats
|
||||
[filter:symlink]
|
||||
use = egg:swift#symlink
|
||||
|
||||
# To enable, add the s3api middleware to the pipeline before tempauth
|
||||
[filter:s3api]
|
||||
use = egg:swift#s3api
|
||||
|
||||
# Example to create root secret: `openssl rand -base64 32`
|
||||
[filter:keymaster]
|
||||
use = egg:swift#keymaster
|
||||
encryption_root_secret = changeme/changeme/changeme/changeme/change/=
|
||||
|
||||
# To enable use of encryption add both middlewares to pipeline, example:
|
||||
# <other middleware> keymaster encryption proxy-logging proxy-server
|
||||
[filter:encryption]
|
||||
use = egg:swift#encryption
|
||||
|
||||
[app:proxy-server]
|
||||
use = egg:swift#proxy
|
||||
allow_account_management = true
|
||||
|
Loading…
Reference in New Issue
Block a user