This patch allows us to customize log_name for:
- proxy-server
- container-server
- object-server
- account-server
Which may be usefull for log collecting/parsing. Defaults remain
as they were before the patch.
Change-Id: I173652ec5bbe8d4382e10db4510d91aebceacab5
Align account_quotas and container_quotas filter names to prevent
swift-proxy from tracing back when quotas are enabled.
Change-Id: I835b05fa5d9eb1fb00cc8309d78bafcd4969d0d3
Closes-Bug: #1323761
swift::proxy::slo class is used to configure proxy slo middleware.
Change-Id: Ic751d2e89de39478b55e3323ddf220610b1b7541
Implements: blueprint icehouse-proxyserver-middlewares
swift::proxy::gatekeeper class will be used to configure
gatekeeper middlerware.
Change-Id: I2f90ae41ba98f9b7d2bd7f3c5ed92fdbcd8fa999
Implements: blueprint icehouse-proxyserver-middlewares
include_service_catalog is a parameter in swift authtoken configuration.
Set to False improves performances.
Closes-Bug #1257738
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Change-Id: Ie5dd2de45fce79e4da7ccb5b37d7c69ee1cb5198
- cache=swift.cache need to be in auth_token configuration not in
keystoneauth.
- Make auth_token using the same facility for logging than main swift.
Closes-Bug: #1254487
Change-Id: If5a09da4d18f247dc42b99e6f666bc2867d06dcb
Use swift_dispersion_config to configure dispersion.conf
Implements: blueprint puppet-swift-ini-settings
Change-Id: I521eefa88e943858f850727f0e57ca35c6b695f2
Use swift_bench_config to configure swift-bench.conf
Implements: blueprint puppet-swift-ini-settings
Change-Id: I97a14f0210aa472876188e66249ea53f34afff72
This change also adds an autorequire in the swift_config
type to ensure the /etc/swift/swift.conf exists.
Change-Id: Ic591a3ceb040c4599339ed7f750a5273d2052ac1
Implements: blueprint puppet-swift-ini-settings
Currently, my swift installation fails with the following
error message:
[Errno 13] Permission denied: '/root/keystone-signing
and the proxy server can never service requests.
This is b/c by default the client side directory for
pki-signing seems to use $HOME. This commits sets the
directory to be /var/cache/swift/ and resolves my
swift-proxy issues.
Change-Id: Ice904a9d53432ba1a1ae9516cd0ee6204ade63bb
This patch add configurable log for swift proxy-server service.
And add related spec test.
Partially implements blueprint puppet-swift-log-support.
Change-Id: I385093b3e63f8210d83ec125e6d2578b06b631d4
This patch add configurable log for swift account/container/object
server service.
Partially implements blueprint puppet-swift-log-support.
Change-Id: Ib3db483dfbad97f23ab7ba2068632856b5e00f11
This patch adds a conf file swift-bench.conf
for swift performance bench, and add a spec
test for it.
Fixed bug 1188968
Change-Id: Iafb67f116a9403bba96328be7c9c09d21a65a74c
Unset default signing dir to allow the keystoneclient to set its own.
The specified /etc/swift location is not ideal and breaks on recent
keystoneclients
Change-Id: I16aadb77ee85e84645fe6745760a2c6edee49c2b
auth_admin_prefix allows the prepend of a prefix to the URL used for
admin tasks. See: https://review.openstack.org/#/c/7156/ for
implementation in Keystone.
auth_uri allows to specify the public authentication url (Keystone's
public endpoint) if it can't be guessed from $auth_host + $auth_protocol
Implements blueprint serve-keystone-from-wsgi
Change-Id: Ic66727f78406d70b5ab5bc07fcc074477df2303c
Update keystone.conf.erb to use egg:swift#keystoneauth.
This resolves issues in trying to configure keystone with the
latest Swift releases.
Change-Id: Idf160eb143150bed9a9c7081a6900c6169887be8
one of the config settings previously
contained a leading set before a config
setting.
This does not convert to the ini file format AFAIK, so
it has been changed.
* `python-swiftclient` is now installed by default.
* Fixed swift3.
* Fixed s3token.
* Recreated authtoken - it used to be configured in the Keystone module.
* Created proxy-logging filter
I believe the following patch fixes compat with ruby 1.9 while
preserving behaviour. The following test was broken:
1) swift::proxy::cache with overridden memcache server
Failure/Error: it { should contain_file(fragment_file).with_content(/memcache_servers = 10\.0\.0\.1:1/) }
Puppet::Error:
Failed to parse template swift/proxy/cache.conf.erb:
Filepath: /tmp/puppetlabs-swift/spec/fixtures/modules/swift/templates/proxy/cache.conf.erb
Line: 3
Detail: undefined method `to_a' for "10.0.0.1:1":String
at /tmp/puppetlabs-swift/spec/fixtures/modules/swift/manifests/proxy/cache.pp:32 on node blueleaf
# ./spec/classes/swift_proxy_cache_spec.rb:39:in `block (3 levels) in <top (required)>'
This commit implements additional proxy middlewares
- catch_errors - handles errors
- ratelimit - limits incoming requests
- s3token - misddleware for s3auth
- swift3 - implement swift APIs
These middlewares needed to be modeled b/c they
are configurable interfaces that needed to be
configurable via Puppet.
Previously, concurrently was implemented per
storage server type as a global setting.
This commit reimplements concurrency to make it
per process (replicator/updater/reaper)
This is intended to allow the end user more
flexibility over how they implement their
swift cluster.