70 Commits

Author SHA1 Message Date
Phil Bridges
9608a30508 Update documentation for HPSS client API integration
A few things have changed, so I'm touching up the docs before
I leave.

Change-Id: I0b860fa9a8819c4c61922faa8601e3c72d237ee3
2018-07-03 13:09:04 -05:00
Phil Bridges
37ce2e360d modified documentation for SwiftOnHPSS 2016-05-16 17:29:45 -05:00
Phil Bridges
408503ca8f Revise deployment guide a bit 2016-03-18 18:50:31 -05:00
Phil Bridges
56238e890c Add more documentation 2016-02-11 18:38:46 -06:00
Phil Bridges
4a578f8c93 Add HPSS-specific logic to SwiftOnFile, and kick this fork off! 2015-12-11 15:51:00 -06:00
Prashanth Pai
0475666746 doc: Last write wins behaviour
Change-Id: I1ef2dbc167921a9b08c8b0cd7f240082adc16a0e
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2015-12-08 19:01:50 +05:30
Prashanth Pai
8bce87a2bb Minor cleanups
* Make bin/* scripts pep8 compliant
* Cleanup tox.ini
* Update references of old repo
* Add swiftonfile-migrate-metadata to spec file

Change-Id: Icfa29cffcedfc357ab860a9023b3adfdbf3eeee8
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2015-11-17 17:55:23 +05:30
venkatamahesh
21f6fa7172 Change repositories from stackforge to openstack
Change-Id: Id1cecf2e55128494684c7f7bd23600b52fd5b6cb
2015-10-19 23:34:53 +05:30
Zandrr
63589a98aa Fix incomplete example command in quick start guide
Change-Id: Ic55d1f62ab2ee783aece5a5850feb90123335bdb
2015-06-16 13:21:19 +00:00
Jeremy Stanley
341048e1c0 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: Id6a13d0396e16e0e9e1a08f3d7d24566d8ccccb5
2014-12-05 03:30:47 +00:00
Prashanth Pai
e87f634b0f doc: Update merge requirements.
Change-Id: Ief6f19b1e28fbfafa3bade8f44faf6b66eea1e92
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2014-10-08 11:15:56 -04:00
Prashanth Pai
a765973600 doc: Update developer documentation
Change-Id: I531bfc11c93a0e0b44e421e443b2fc3697721195
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2014-10-01 13:33:53 -04:00
Thiago da Silva
12c675ab27 Update dev_guide.md 2014-07-31 13:13:00 -04:00
Thiago da Silva
c70faa4e27 Update quick_start_guide.md 2014-07-31 10:40:14 -04:00
Thiago da Silva
91b8b2cf7a Update quick_start_guide.md 2014-07-31 10:37:54 -04:00
Thiago da Silva
8a7e143127 Merge pull request #21 from pushpesh/quickstartguide
Quickstartguide
2014-07-31 10:10:10 -04:00
Pushpesh Sharma
8bf1d6bb69 Minor Update 2014-07-18 14:09:21 +05:30
Pushpesh Sharma
581e6145f0 Minor Update 2014-07-18 13:46:00 +05:30
Pushpesh Sharma
01abe7dc68 Minor updates 2014-07-18 13:10:24 +05:30
Pushpesh Sharma
1cdc18e93d Included suggestions 2014-07-15 16:43:37 +05:30
Pushpesh Sharma
873ff534c5 Minor update 2014-06-26 16:56:38 +05:30
Pushpesh Sharma
71228826b9 SwiftOnFile as StoragePolicy of OpenStack Swift
Done necessary changes to quick start guide.This
guide suggest easy steps to extend swift SAIO setup
to use swiftonfile as storage policy.
2014-06-26 16:28:51 +05:30
Prashanth Pai
ba39ade716 Remove non SP related code
This commit only removes code that is not required when swiftonfile
will be used as Storage Policy in Swift.

This commit does NOT:
* include code changes to support SP
* fix functional tests
* update documentation related to SP

This commit removes the following:
* Gen builders script and its man page.
* Authentication guide, user guide and other docs.
* Swiftkerbauth code, unit tests, func tests and doc.
* gswauth code, unit tests, func tests and doc.
* Object expirer code modifications, unit tests and doc.
* Conf files of account, container, proxy.
* Account, container and proxy server code - server.py of each.
* Account, container and proxy unit and functional tests.
* DiskDir class and corresponding unit tests.
* Our overridden ring.py (enforces account = volume = device) and tests.
* Functional tests for authentication filters.
* modules/swift and test/deploy directories.
* Proxy base controllers unit tests.

NOTE: We may have to reintroduce some of the above functional and unit
tests after SP related code changes - during fixing functional tests.

This commit modifies:
* setup.py to reflect the above code removals.
* constraints.py to remove references to ring.py
* object server.py to remove object-expirer changes
* tox.ini to remove ksfunctest and swfunctest

Signed-off-by: Prashanth Pai <ppai@redhat.com>
2014-06-23 12:22:42 +05:30
Thiago da Silva
4f65c3cf02 remove reference to fedora 19 2014-05-28 16:13:16 -04:00
Pushpesh Sharma
a60098a2ab Minor update 2014-05-28 17:04:25 +05:30
Pushpesh Sharma
21708ef03c Including Prashant's suggestions 2014-05-28 14:50:39 +05:30
Pushpesh Sharma
f2302af676 Minor Update 2014-05-28 10:32:29 +05:30
Pushpesh Sharma
9619f54d6e Including Thiago's suggestions 2014-05-28 10:24:34 +05:30
Pushpesh Sharma
a07bfd42c4 Markdown Again 2014-05-27 18:32:27 +05:30
Pushpesh Sharma
40d713f886 Markdown Fix 2014-05-27 18:30:35 +05:30
Pushpesh Sharma
0903964891 Fixing Markdown 2014-05-27 18:27:40 +05:30
Pushpesh Sharma
35cc268b65 Fixing Markdown format 2014-05-27 18:20:18 +05:30
Pushpesh Sharma
117199a5cd Minor Update 2014-05-27 18:13:12 +05:30
Pushpesh Sharma
d78dfa15c6 Minor Update 2014-05-27 17:54:24 +05:30
Pushpesh Sharma
a9cef12ca4 Minor Update 2014-05-27 17:50:02 +05:30
Pushpesh Sharma
e6604b36bc Draft for Quick Start guide
The attempt was to make it more FS neutral, However certain
references are made to glusterFS in particular.
2014-05-27 17:35:35 +05:30
Pushpesh Sharma
6373686f36 Minor update 2014-05-27 15:24:55 +05:30
Pushpesh Sharma
f5a5b84b00 Minor update 2014-05-27 14:52:18 +05:30
Pushpesh Sharma
9f4b8c838f Minor Update 2014-05-06 15:19:40 +05:30
Pushpesh Sharma
f46167aed9 Dev_guide updated with github workflow
I tried to club the information scattered over the
internet,and made it suit to our need.These are the
resources i used:
1. https://help.github.com/articles/fork-a-repo
2. https://help.github.com/articles/using-pull-requests
3. https://help.github.com/articles/set-up-git
4. https://help.github.com/articles/checking-out-pull-requests-locally

Signed-off-by: Pushpesh Sharma <psharma@redhat.com>
2014-05-05 19:53:49 +05:30
Prashanth Pai
2014cdb906 Add support for Object Expiration feature
Preventing access to expired objects
------------------------------------
Re-enabled accepting X-Delete-At and X-Delete-After headers. During a GET on
an expired object, DiskFileExpired is raised by DiskFile class. This will
result in object-server returning HTTPNotFound (404) to the client.

Tracking objects to be deleted
------------------------------
Objects to be deleted are tracked using "tracker objects". These are PUT into
a special account(a volume, for now). These zero size "tracker objects" have
names that contain:
    * Expiration timestamp
    * Path of the actual object to be deleted

Deleting actual objects from GlusterFS volume
---------------------------------------------
The object-expirer daemon runs a pass once every X seconds. For every pass it
makes, it queries the special account for "tracker objects". Based on
(timestamp, path) present in name of "tracker objects", object-expirer then
deletes the actual object and the corresponding tracker object.

To run object-expirer forever:
    swift-init object-expirer start
To run just once:
    swift-object-expirer -o -v /etc/swift/object-expirer.conf

Caveat/Limitation: Object-expirer needs a separate account(volume) that
is not used by other services like gswauth. By default, this volume is
named "gsexpiring" and is configurable.

More info about object expiration:
http://docs.openstack.org/developer/swift/overview_expiring_objects.html

Change-Id: I876995bf4f16ef4bfdff901561e0558ecf1dc38f
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/6891
Tested-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-by: pushpesh sharma <psharma@redhat.com>
Tested-by: pushpesh sharma <psharma@redhat.com>
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
2014-03-24 22:14:15 -07:00
Chetan Risbud
2505d82815 Functional tests for SwiftKerbAuth filter.
This provides an infrastructure for swiftkerbauth
related functional test cases.
More test cases will be added later.
Added a section in swiftkerbauth guide about how to run
functional tests.

test/functional_auth/swiftkerbauth
----------------------------------

A new authentication filter related functional
tests and configuration to reside here.
The configuration would help setup the
environment. All the generic functional tests
should run fine with PASSIVE mode of swiftkerbatuh.
Please refere to swiftkerbatuh documentation for
ACTIVE/PASSIVE mode of working.

swiftkerbauth/test_swkrbath_active.py
-------------------------------------
This file has all the testcases of active mode of
swiftkerbauth. More test cases to be added later.

SwiftKerbAuth related test cases are meant to run
on the setup where SwiftKerbAuth is setup and
installed.

Change-Id: Ibc2a3945f5c9b6714475fcec0ee9d153debb48e3
Signed-off-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-on: http://review.gluster.org/6925
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2014-03-14 11:56:15 -07:00
Prashanth Pai
73aa6e7883 Update quick_start_guide.md
Author: John Dickinson
Original pull request can be found here:
https://github.com/gluster/gluster-swift/pull/2

Change-Id: Id5cd45e7090f69407938e5f9431560ed0977b22d
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/7234
Reviewed-by: Thiago da Silva <thiago@redhat.com>
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2014-03-14 11:54:59 -07:00
Prashanth Pai
2ccd2c4d96 Sync with OpenStack Swift v1.13.0
Also, bumped version of gluster-swift to v1.13.0

Change-Id: I797dc704c9523540cba847b1e8ff3da97b79630c
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/7229
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2014-03-13 05:09:19 -07:00
Luis Pabon
369050cb57 Update Havana link to 1.10.0-2
Change-Id: Ib0765d2109645a2da0e2e58b176ad26b932d7b99
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/7159
2014-02-25 19:39:51 -08:00
Luis Pabon
d5ebf36f7e Sync with OpenStack Swift v1.12.0
* Bumped the version of gluster-swift to v1.12.0.
* Added document on how to do a sync

Change-Id: I676e110759b0bce3007a2a38f3b384b4ca9d710d
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/6977
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
Tested-by: Chetan Risbud <crisbud@redhat.com>
2014-02-16 22:08:06 -08:00
Antonio Messina
33988c9312 Update keystone authentication documentation
Add detailed information on how to configure gluster-swift
to use Keystone as an authentication source.

Change-Id: I9e3ea72378e3f85db45e0ab0320d43591976e038
Signed-off-by: Antonio Messina <antonio.s.messina@gmail.com>
Reviewed-on: http://review.gluster.org/6956
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2014-02-14 08:42:10 -08:00
Thiago da Silva
fc8d5eb1dd simplifying instructions in auth guide
Attempted to simplify the instructions around authenticating with
swift client.

Provided users a basic and more advanced method of authenticating.
The previous version only listed the advanced method, which is still
necessary because it instructs reseller admins on how to access
other accounts

Bug: https://bugs.launchpad.net/gluster-swift/+bug/1267445

Change-Id: I99cae591627616206fb5277af4b636b8dd2ca3cd
Signed-off-by: Thiago da Silva <thiago@redhat.com>
Reviewed-on: http://review.gluster.org/6863
Reviewed-by: pushpesh sharma <psharma@redhat.com>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
Tested-by: Chetan Risbud <crisbud@redhat.com>
2014-02-10 22:38:04 -08:00
Chetan Risbud
03128e172e Rebase swiftkerbauth imported code with upstream
Few changes have been merged to upstream swiftkerbauth repo.
This commit brings it down to gluster-swift repo.
Bringing below changes to gluster-swift repo in one go.

http://review.gluster.org/#/c/6296/
http://review.gluster.org/#/c/6370/
http://review.gluster.org/#/c/6595/
http://review.gluster.org/#/c/6713/
http://review.gluster.org/#/c/6732/

Change-Id: I10dc12d75ec63fca313339fbc71e4f18071af552
Signed-off-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-on: http://review.gluster.org/6764
Reviewed-by: Prashanth Pai <ppai@redhat.com>
2014-01-27 22:55:55 -08:00
Chetan Risbud
4b988ce3c5 Initial import of the swiftkerbauth
Imported code till commit f64a3354185f32928e2568d9ece4a52fa4746c05
Changed a code bit to import correct definitions.
kerbauth unit tests do run along with gluster-swift.
Install script does install swiftkerbauth.
import swiftkerbauth from http://review.gluster.org/swiftkrbauth.git

Change-Id: Ia89f2b77cc68df10dee2f41ce074f3381ac3c408
Signed-off-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-on: http://review.gluster.org/6597
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2014-01-21 10:09:44 -08:00