3fb6784459
Move to use tempauth to resolve memory issues resulting from an AIO swift install running in pypy. This PR adds some options for using pypy: * Set a pypy Garbage collection value This PR includes some tempauth fixes to make it useable: * Set the tempauth users based on a variable Testing is changed as follows for pypy: * Use only memcache within swift-proxy * Remove galera/keystone * Add swap for swift-storage hosts * Use tempauth for pypy * Reduce to 2 swift hosts Change-Id: Ic1ed5acc9b20853d9a159035226f97fda088f035
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
---
|
|
# Copyright 2015, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
bridges:
|
|
- name: "br-mgmt"
|
|
ip_addr: "10.1.1.1"
|
|
- name: "br-storage"
|
|
ip_addr: "10.1.2.1"
|
|
- name: "br-repl"
|
|
ip_addr: "10.1.3.1"
|
|
|
|
# These values are quite low due to memory constraints in an AIO
|
|
swift_pypy_gc_min: "5M"
|
|
swift_pypy_gc_max: "200M"
|
|
swift_pypy_enabled: True
|
|
|
|
swift_middleware_list:
|
|
- catch_errors
|
|
- gatekeeper
|
|
- healthcheck
|
|
- proxy-logging
|
|
- "{% if swift_ceilometer_enabled | bool %}ceilometer{% endif %}"
|
|
- cache
|
|
- container_sync
|
|
- bulk
|
|
- tempurl
|
|
- ratelimit
|
|
- tempauth
|
|
- staticweb
|
|
- container-quotas
|
|
- account-quotas
|
|
- slo
|
|
- dlo
|
|
- proxy-logging
|
|
- proxy-server
|
|
|
|
swift_tempauth_users:
|
|
- "user_admin_admin = admin .admin .reseller_admin"
|
|
- "user_test1_test1 = test1 .admin"
|
|
- "user_test2_test2 = test2 .admin"
|
|
- "user_test1_test3 = test3"
|
|
- "user_test5_test5 = test5 service"
|
|
- "user_test6_test6 = test6 .reseller_admin"
|
|
|
|
swift_hard_open_file_limits: 30720
|
|
swift_soft_open_file_limits: 12288
|
|
|
|
swift_rsync_module_per_drive: True
|
|
test_swift_repl_number: 2
|