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
Peter Portante a574805398 Bring initial DiskDir module coverage to 97%.
This is quite ugly. Sorry. We ported a set of test from OpenStack
Swift's test/unit/commont/test_db.py, the testAccountBroker and
testContainerBroker, but because of the divergent nature of the
current attempt UFO (Unified File and Object) implementation, it was
not possible to use the interface calls directly.

Instead, we are using these tests to make sure most of the code paths
are exercised, and to define much of the expected behavior. Further
refactoring, unit tests and functional test work will help us bring
the code base and these tests closer to the originals in upstream
OpenStack Swift (as of Havana).

Change-Id: I095bb03619de6e7e1378b5252913e39b1ea8bf27
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/5135
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2013-06-03 14:01:29 -07:00
bin Remove "ufo" directory, promoting contents to top-level 2013-05-10 07:12:08 -07:00
etc Bring initial DiskDir module coverage to 97%. 2013-06-03 14:01:29 -07:00
extras/hook-scripts object-storage: Store the lock file in /var/run/swift. 2013-04-29 16:35:57 -04:00
gluster Bring initial DiskDir module coverage to 97%. 2013-06-03 14:01:29 -07:00
test Bring initial DiskDir module coverage to 97%. 2013-06-03 14:01:29 -07:00
tools Add DiskDir unit test skeleton and pep8 filter 2013-05-24 12:08:18 -07:00
.gitignore Generate coverage HTML reports by default. 2013-05-17 12:53:40 -07:00
glusterfs-openstack-swift.spec Update the configuration files with the name in setup.py file. 2013-05-22 04:20:34 -07:00
HISTORY Remove "ufo" directory, promoting contents to top-level 2013-05-10 07:12:08 -07:00
makerpm.sh rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
pkgconfig.py rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
README rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
setup.py rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
tox.ini Add DiskDir unit test skeleton and pep8 filter 2013-05-24 12:08:18 -07:00
unittests.sh Remove "ufo" directory, promoting contents to top-level 2013-05-10 07:12:08 -07:00

Gluster For Swift - Integrating GlusterFS with OpenStack Swift Implementation
of the Swift API. 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 accounts, containers and
objects.

Install
  * yum install openstack-swift*.noarch
  * yum install gluster-swift-1.3*.noarch

Once this is done, you can access GlusterFS volumes via the Swift API where
accounts are mounted volumes (today), containers are top-level directories,
and objects are files and sub-directories of container directories.

Command to start the servers (TBD)
  swift-init main start

Command to stop the servers (TBD)
  swift-init main stop

Command to gracefully reload the servers
  swift-init main reload

Building RPMs.  RPMs will be located in the 'build' directory.
  $ bash makerpm.sh

Building RPM with a specific release value, useful for automatic Jenkin builds
  $ PROG_RELEASE=123 bash makerpm.sh