swift: Enable backend_ratelimit middleware
The backend_ratelimit middleware was enabled in the sample config files in swift. Change-Id: Idd789f00c183ef8c2f5bf77b7c1b3fb997c1b638
This commit is contained in:
parent
d5e5e557cc
commit
211dc77fb9
@ -138,14 +138,15 @@ class openstack_integration::swift {
|
|||||||
class { 'swift::storage::all':
|
class { 'swift::storage::all':
|
||||||
storage_local_net_ip => $::openstack_integration::config::host,
|
storage_local_net_ip => $::openstack_integration::config::host,
|
||||||
mount_check => false,
|
mount_check => false,
|
||||||
account_pipeline => ['healthcheck', 'recon', 'account-server'],
|
account_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'account-server'],
|
||||||
container_pipeline => ['healthcheck', 'recon', 'container-server'],
|
container_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'container-server'],
|
||||||
object_pipeline => ['healthcheck', 'recon', 'object-server'],
|
object_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'object-server'],
|
||||||
account_server_workers => 2,
|
account_server_workers => 2,
|
||||||
container_server_workers => 2,
|
container_server_workers => 2,
|
||||||
object_server_workers => 2,
|
object_server_workers => 2,
|
||||||
}
|
}
|
||||||
$swift_components = ['account', 'container', 'object']
|
$swift_components = ['account', 'container', 'object']
|
||||||
|
swift::storage::filter::backend_ratelimit { $swift_components : }
|
||||||
swift::storage::filter::recon { $swift_components : }
|
swift::storage::filter::recon { $swift_components : }
|
||||||
swift::storage::filter::healthcheck { $swift_components : }
|
swift::storage::filter::healthcheck { $swift_components : }
|
||||||
class { 'swift::objectexpirer':
|
class { 'swift::objectexpirer':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user