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
* Fix following warnings:
* double quoted string containing no variables
* indentation of => is not properly aligned
* mode should be represented as a 4 digit octal value or symbolic mode
* string containing only a variable
* top-scope variable being used without an explicit namespace
* unquoted file mode
* variable not enclosed in {}
* Fix following errors:
* trailing whitespace found
* two-space soft tabs not used
* Remove quotes around class in include/require statements
Change-Id: Ia920d848e1955612a6486ec8731309e6d3a70f63
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
It aim to support to use the disk device as the swift storage backend,
this pathch contains:
* a new define with three params
* annotations and examples for this define
* a new spec test
Change-Id: I92f13992a02b9cff0f29bde3266a92f37bf63d13
Class swift requires class['ssh::server::install'], otherwise it will
complain and fail to compile the catalog.
Change-Id: Ieeef735cc3e78bb6a6b514c711e5b87a861ee31b
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
Updates swift_ring_builder rebalancing parsing to support the
latest upstream replicator_id and replicator_port changes.
This correspondes with swift 1.8+ upstream development.
Fixes LP Bug #1182197.
Change-Id: Ibbaf75ca22cad95b22f9b5f03b547db8c47a9ea4
In some case, there are no spaces before - of the balance in swift 1.8.
The change fix this.
/etc/swift/object.builder, build version 9
32768 partitions, 3.000000 replicas, 1 regions, 3 zones, 9 devices, 200.00 balance
The minimum number of hours before a partition can be reassigned is 24
Devices: id region zone ip address port name weight partitions balance meta
0 1 1 10.68.0.45 6000 sdd 100.00 32768 200.00
1 1 2 10.68.0.46 6000 sdd 100.00 0-100.00
...
Change-Id: Ic7757a22ce94e4d51ae11780d4626c90a9ed430f
Now starting these services on all distros
swift-account-auditor swift-container-auditor swift-object-auditor
swift-account-reaper swift-container-updater swift-object-updater
Change-Id: I98cfcef3b43a2bdad6f359e4e4098a6113245353
I believe this requirement was added to obtain support auth_token
middleware (keystone auth support). This is now provided via
keystoneclient.
Since this requirement no longer works we should drop it since
it is heavyweight to install keystone source code on all the
swift proxies.
Most packages automatically require keystoneclient as well so
we can probably ignore automatically adding this dep in here. I'm open
to doing that if we thing it worthwhile... but we'll first need to
make a keystone::client module to support it.
Change-Id: I2a85ea964d2b9e1a93c3ec0ba8de31b188c140ea
Updates the swift_ring_builder so that it parses ring builder output
from the most recent Swift releases correctly (1.7.6 or greated).
Backward compat for the previous parsing is still supported.
Change-Id: I4263b349310e16f6825960805eb27e4bfe3ff002
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
the service upstart provider does not
work unless the init script is a symlink
to /lib/init/upstart-job for at least older
versions of Puppet.
This commit adds this symlink to avoid
run time apply failures.
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.
The device set for the storage mount point was
hard-coded to /dev/$name. This value is only
valid when no device is supplied to the storage
xfs setup.
This commit updates it to use the target_device
which is either the device that was passed, or
/dev/$name if not device is specified.