Swift Object Server implementation that enables objects created using the Swift API to be accessed as files on a High Performance Storage System (HPSS) mount point.
Go to file
Luis Pabon 0f1ad38c2f Add OpenStack Swift as a git submodule
This allows developers to easily insert the python
debugger to the OpenStack Swift code which in turn
calls gluster-swift.

Using 'git submodule' allows developers to not only create
a clone of the OpenStack Swift repo locally, but
also automatically set the repo to the appropriate tested version.
This change also allows us to always match the version
of OpenStack Swift that gluster-swift has been tested against.

For this change, the submodule of OpenStack Swift has
been set to version 1.9.1 which, according to the RDO
rpms, it is commit id 95bcd7180c546f91414c2493d343fe1a4ae3ce44.

Here is how developers can setup their repo after this change:

$ git submodule init
$ git submodule update

Now that the correct version of the OpenStack Swift
code has been cloned to the modules directory, it can be
used for debugging during development.  First we need
to setup a link called 'swift' to point to the python
code from the root of the gluster-swift repo as follows:

$ ln -s swift modules/swift/swift

Here is simple example of how to debug an object PUT command.
First, we need to add the following line:
`import pdb ; pdb.set_trace`
to swift/proxy/controllers/obj.py at line 818.

To execute the debug line added above, we can use the following
unit test:

$ nosetests -v -s -exe test/unit/proxy/test_server.py

Change-Id: I01dd58954e5ef139208a1132140c6c83ada82c18
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/5787
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
Tested-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-by: Peter Portante <pportant@redhat.com>
2013-09-05 04:23:50 -07:00
bin gluster-swift-gen-builders behaviour changes 2013-08-20 04:22:03 -07:00
doc/markdown Depend only on OpenStack Swift 1.9.1 2013-08-28 19:01:50 -07:00
etc Ensure fast-POST operations are used on objects 2013-08-28 19:25:48 -07:00
extras/hook-scripts Include extras/ dir in flake8 source code check 2013-08-28 19:15:59 -07:00
gluster Handle GET on zero content length failure case. 2013-08-28 19:28:19 -07:00
modules Add OpenStack Swift as a git submodule 2013-09-05 04:23:50 -07:00
test OpenStack Swift proxy controller unit tests 2013-08-30 07:51:50 -07:00
tools Fix spec file to support source rpms 2013-08-21 13:41:16 -07:00
.gitignore Generate coverage HTML reports by default. 2013-05-17 12:53:40 -07:00
.gitmodules Add OpenStack Swift as a git submodule 2013-09-05 04:23:50 -07:00
.gitreview Git review to use branch master 2013-08-13 12:43:54 -07:00
HISTORY Remove "ufo" directory, promoting contents to top-level 2013-05-10 07:12:08 -07:00
README.md Re-worded table contents portion of Readme.md 2013-07-05 08:15:12 -07:00
functests.sh Add simple script for running func tests 2013-07-08 12:10:30 -07:00
glusterfs-openstack-swift.spec Depend only on OpenStack Swift 1.9.1 2013-08-28 19:01:50 -07:00
makerpm.sh Fix spec file to support source rpms 2013-08-21 13:41:16 -07:00
pkgconfig.py rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
setup.py Remove filter for non-existent middleware. 2013-07-11 15:45:12 -04:00
tox.ini Include extras/ dir in flake8 source code check 2013-08-28 19:15:59 -07:00
unittests.sh Updating copyrights with current year 2013-07-24 18:43:52 -07:00

README.md

Gluster For Swift

Integrating GlusterFS as the back-end to OpenStack Swift implementation. This is a component of the Unified File and Object (UFO) story for GlusterFS, which allows files and directories created via gluster-native/nfs/samba mount(s) to be accessed as objects via the Swift API.

Table of Contents

  1. Overview and Concepts
  2. User Guide
  3. Developer Guide