359 Commits

Author SHA1 Message Date
Branan Purvine-Riley
1b861d283a Add SSH dependency to Modulefile 2012-06-15 11:49:18 -07:00
Dan Bode
acb17d1497 Merge pull request #38 from branan/forge_release
Prepare for initial forge release
2012-06-15 11:22:28 -07:00
Branan Purvine-Riley
51c14d7879 Prepare for initial forge release
* Add a Modulefile
* Switch to the short apache license file
2012-06-15 11:08:08 -07:00
Dan Bode
cfa7ff6b4e Merge pull request #37 from branan/doc_update
Documentation updates and formatting fixes
2012-06-15 09:44:37 -07:00
Branan Purvine-Riley
a292b9e796 Documentation updates and formatting fixes
* Re-fill to 80 chars
* Update examples section for the current examples directory
* Provide an introduction
2012-06-15 09:33:42 -07:00
Dan Bode
58c9780b75 Merge pull request #35 from branan/fix_all_example
Fix all example
2012-06-14 17:28:20 -07:00
Dan Bode
12d04dc827 Merge pull request #36 from branan/add_node_spec
Implement basic spec test for swift::storage::node
2012-06-14 17:22:21 -07:00
Branan Purvine-Riley
8fd2591362 Implement basic spec test for swift::storage::node 2012-06-14 12:45:30 -07:00
Branan Purvine-Riley
02efd7afe0 Allow multiple instances of swift::storage::server on one host
Adding the server instance's name to the rsync type avoids a duplicate resource
error.
2012-06-14 11:57:58 -07:00
Branan Purvine-Riley
c759ab69fe Fix ring_*_device usage in swift::storage::node 2012-06-14 11:32:22 -07:00
Branan Purvine-Riley
6b0b2dedaf Make sure the replicator services are ordered properly 2012-06-14 11:31:53 -07:00
Dan Bode
634e6a7e26 Merge pull request #34 from bodepd/swift_test_code
Swift test code
2012-06-12 19:36:01 -07:00
Dan Bode
43cd95fb79 Merge pull request #33 from bodepd/swift_example_manifest
Add example site.pp
2012-06-12 19:35:30 -07:00
Dan Bode
bdf67a91aa Remove invalid keystone test code
This code removes the authentication code that is
not using keystone.

I could not get the code to work when things were configured to
use keystone and found that the tests still worked if I removed the
code.
2012-06-12 19:32:16 -07:00
Dan Bode
75889ab7fc Add example site.pp
This commit adds an example manifest that can be used
to deploy a reasonable multi-node swift environment.

It also removes a few example files that have been
replaced by site.pp
2012-06-12 19:14:18 -07:00
Nan Liu
f0c041eb7d Merge pull request #29 from branan/use_spechelper_gem
Update module to use puppetlabs_spec_helper gem
2012-06-08 13:44:36 -07:00
Dan Bode
7c1cf9b14f Merge pull request #31 from fcharlier/dispersion
Add swift-dispersion configuration
2012-06-06 09:01:42 -07:00
Branan Purvine-Riley
8ccb51bddb Merge pull request #32 from bodepd/allow_multi_devices
Allow multiple devices per endpoint.
2012-06-05 17:16:53 -07:00
Dan Bode
b66f98e25f Move the keystone integration tests to files directory
This makes it easier to deploy the integration test scripts
using Puppet.
2012-06-05 16:53:34 -07:00
Dan Bode
09f726c363 Allow multiple devices per endpoint.
Previously, the Puppet modules only supported a single device per
endpoint.

This commits allows multiple devices per endpoint by making the device
name a part of the namevar for the swift ring devices.

it also updates the relevent configs.
2012-06-05 16:45:47 -07:00
Dan Bode
b428438460 Merge pull request #26 from fcharlier/replicator_services
Replicator services
2012-06-05 09:29:54 -07:00
Dan Bode
c6c99a4524 Merge pull request #30 from bodepd/middlewares
Refactor Middlewares
2012-06-05 09:22:47 -07:00
François Charlier
2bdc710d66 Add note concerning keystone auth and swift-dispersion tools 2012-06-05 15:44:23 +02:00
Dan Bode
bac1b65de1 Add test for keystone auth
This commit adds an integration test for swift configured with
keystone.
2012-06-04 22:48:21 -07:00
François Charlier
478c4b994a Update swift proxy example
This commit adds a usage example of creating
a swift proxy with keystone as the auth middleware
and a large number of configured middlewares.

This example encapsulates the latest and greatest
deployment example of swift proxy.
2012-06-04 13:48:01 -07:00
François Charlier
a3d1b08e96 Expand supported storage middlewares
This commit expands the supported storage
middlewares to include:
  - healthcheck - used to be able to perform
healthchecks on a storage node
  - recon
2012-06-04 13:47:57 -07:00
François Charlier
caad4e3732 Implement additional proxy middlewares
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.
2012-06-04 13:47:52 -07:00
François Charlier
d831ec1c45 Reimplement keystone pipeline
This commit removes the keystone::client::authtoken
class from the swift::proxy::keystone class.

This has been done to  map the classes more cleanly
to the pipeline specication.
2012-06-04 13:47:48 -07:00
François Charlier
18365a7c43 Reimplement concurrency to be per process
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.
2012-06-04 13:47:43 -07:00
François Charlier
01ecb029cd Implement individual server pipelines
This commit adds the ability to specify
individual pipelines per storage server.

This allows users to specify their own custom
pipelines to determine how they implement the
middlewares for their storage instances.
2012-06-04 13:47:31 -07:00
François Charlier
8c45b39204 Add doc for dispersion 2012-06-04 21:46:18 +02:00
François Charlier
22d2f61289 Add swift-dispersion configuration
* Add config file for swift-dispersion-populate & swift-dispersion-report
* Add creation of keystone user for swift-dispersion
2012-06-04 21:46:18 +02:00
Branan Purvine-Riley
df7c59ccee Update module to use puppetlabs_spec_helper gem
* Automatically populate fixtures directory on spec runs
* Avoid duplicating spec_helper and Rakefile between modules
2012-05-31 17:11:07 -07:00
Branan Purvine-Riley
4a0eb9d836 Merge pull request #28 from bodepd/concat
Concat
2012-05-29 16:40:35 -07:00
Branan Purvine-Riley
e16d6637b0 Merge pull request #27 from bodepd/keystone_auth
Keystone auth
2012-05-29 16:40:15 -07:00
Dan Bode
6323311c04 Add concat_basedir fact
This commit adds the required fact concat_basedir so that
the concat module (which is a dependency for some glance classes) will not fail.

This change is necesary b/c we have switched from the puppetlabs version to
ri's version of concat.
2012-05-29 16:31:21 -07:00
Dan Bode
83b8466eb0 Add tests for swift::keystone::auth
Adds rspec-puppet tests for the swift::keystone::auth class.
2012-05-29 13:06:21 -07:00
François Charlier
ad081d901b Implement creation of user & endpoints for swift 2012-05-29 10:40:34 -07:00
Dan Bode
1413a9ed6e Merge pull request #24 from fcharlier/operator_roles
Fix operator_roles test after changes in 2304e863
2012-05-29 09:25:07 -07:00
François Charlier
03c805e1b8 Update example for Swift::Ringsync
The ring files should be rsync'ed then the services should be started
(or checked)
2012-05-23 21:27:19 +02:00
François Charlier
9514dd250a Ensure the replicator services are started 2012-05-23 17:16:58 +02:00
Dan Bode
284dd0d092 Merge pull request #25 from fcharlier/rsyncmodulename
Fix the rsync modules names
2012-05-22 09:25:18 -07:00
François Charlier
b394c6df19 Fix the rsync modules names
The rsync module name must be only ```$type``` as written in the
documentation [1].

The names with the port added exists but is intended to be used only in
SAIO mode [2] and is only supported if the ```vm_test_mode``` option is
set in ```swift.conf```.

The effect of these shares not being named correctly is seen in the
```swift-{object,account,container}-replicator``` daemons (replication
fails).

[1] http://swift.openstack.org/1.4.6/howto_installmultinode.html#configure-the-storage-nodes
[2] http://swift.openstack.org/1.4.6/development_saio.html
2012-05-22 17:27:34 +02:00
François Charlier
0b397ac492 Fix operator_roles test after changes in 2304e863 2012-05-21 15:05:20 +02:00
Dan Bode
2e671c2afa Merge pull request #19 from branan/fix_spec_tests
Fix spec tests
2012-05-14 15:59:23 -07:00
Dan Bode
0b387731cf Merge pull request #21 from fcharlier/operator_roles
The “operator_roles” list should be coma separated
2012-05-14 13:28:16 -07:00
François Charlier
2304e86317 The “operator_roles” list should be coma separated
As seen in the documentation :
https://github.com/openstack/keystone/blob/master/doc/source/configuringservices.rst#configuring-swift-to-use-keystone
2012-05-14 21:59:00 +02:00
Nan Liu
fa9e0788ff Merge pull request #20 from branan/fix_old_puppet
Remove some trailing commas for compat with older puppet versions
2012-05-08 16:13:39 -07:00
Branan Purvine-Riley
bfa4904234 Remove some trailing commas 2012-05-08 16:06:59 -07:00
Branan Purvine-Riley
078cef7f9d Change contain_exec path from list to string 2012-05-08 15:52:19 -07:00