Commit Graph

11 Commits

Author SHA1 Message Date
ZhongShengping 86f435a2a5 Update URLs in documents according to document migration
Change-Id: I1b8e63b37be6599a4263afdf12d8f617163fde20
2017-07-14 13:05:37 +08:00
Monty Taylor fb9e6dcecc
Replace references to swift.openstack.org
The policy of giving projects vanity domains stopped about 5 years ago.
swift.openstack.org is a redirect to the canonical location -
docs.openstack.org/developer/swift. While we are not aiming to remove
the redirect any time in the forseeable future due to existing published
links pointing to it, we should at the very least stop adding more of
those links to the world.

Change-Id: Ia56ce22c65c1fac29a2d8fb367797a4d7929a9b4
2017-03-08 09:50:24 -06:00
zhangyanxian bf21e216f8 Fix typo in swift_keystone_test.rb & swift.rb
TrivialFix

Change-Id: I7e9bc64ef4f1df3964f1a0a0acb11e22291bbd0c
2017-01-20 06:18:42 +00:00
Adam Vinsh 5a7d18975f Manage swift with swiftinit service provider
The 'swiftinit' provider is a custom provider of the service type
that manages swift services using swift-init.

Use of the swiftinit service provider is optional, the default is
to use service providers specified in params file. This provider
also manages swift services starting at boot by adding or removing
a templated init or services file and making systemctl calls.
See README for more detail.

A wrapper defined type 'swift::service' has been created to simplify
use of the swiftinit provider without adding logic to every class.
this wrapper also aids in input validation and testing of the
swiftinit provider.

Two extra runs of apply_manifest have been added to the
basic_swift_spec acceptance test. The service_provider
is set to "swiftinit".  The first run catches any errors upgrading
to the swiftinit service provider and the second run tests
idempotency.

This patch is an initial step towards using swift-init to manage
multiple swift services out of different configuration files such
as is needed to run a separate replication network.

Change-Id: I2f71c82c7a6c463f8c76a193409c0a17daa15bda
2015-12-07 16:00:50 -05:00
Dan Prince 3fe177d439 Drop ringbuilder.sh from swift module.
We don't use this file anywhere and it may confuse people.
Lets just remove it.

Change-Id: If43ea0ba616c507d7888e3f4b43edf7e2325948a
2013-04-10 10:08:54 -04:00
Dan Bode a467efdc46 level up swift test file
improve the file used to test swift.

convert into a template.
create a class to configure and deploy it.
2013-01-11 12:21:16 -08:00
Sergio Rubio 403a88a05f Manage missing Swift storage server services
Before this fix the following services where missing:

    root@swift-storage-01:~# swift-init status all|grep ^No
    No container-updater running
    No account-auditor running
    No object-auditor running
    No object-expirer running
    No container-auditor running
    No account-reaper running
    No container-sync running
    No object-updater running

After this commit:

    root@swift-storage-01:/etc/init# swift-init status all|grep ^No
    No proxy-server running
    No object-expirer running

It's OK for the proxy-server to be stopped since it's a storage
.
You only need to manage one object-expirer per cluster, so this not

place to manage it either. See:

http://docs.openstack.org/developer/swift/overview_expiring_objects.html
2012-09-20 11:10:18 +02: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 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 c56bc60bfd Add custom upstart scripts
In the current trunk PPA for oneiric (which is what
I am using for testing), the upstart files seem
to have a problem where they only will start the
swift servers if the file:
  /etc/swift/<server_name>-server

exists. Raised as issue: 931893
in Launchpad.

This commit adds puppet code to deploy custom
upstart scripts that have fixed this issue.
2012-02-14 14:03:25 -08:00
Dan Bode 47d49e7780 Initial commit.
This initial commit only targets a single node
swift install on Natty based on 1.4.6
2012-01-19 18:58:37 -08:00