From 1129698a490ac9266b1f613fababdf524e11f887 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Thu, 8 Nov 2012 01:16:56 -0500 Subject: object-storage: final changes to remove swift diff Final set of changes to remove the diffs carried to make UFO work with OpenStack Swift. The code is now a complete layering on top of OpenStack Swift where we either "monkey patch" or subclass as necessary. See BZ 870589 (https://bugzilla.redhat.com/show_bug.cgi?id=870589). There are a lot of changes here due for the most part to rearranging the directory hierarchy to have create a proper python module hierarchy under the "gluster" namespace. Plugin references have been removed. The differences that used to be in the swift.diff file are now replaced with server implementations for account, container, object, and proxy that subclass the swift versions. Additionally, the plugins/conf directory has been moved to the "etc" directory, and the plugins/bin directory promoted a level. Unit tests pass. A new setup.py file is provided so that the install process can use it for creating all the necessary python install infrastructure (eggs and paste support). A new RPM spec file is provided which to properly install the new code, and the sample configuration files have been modified to reference the new python egg. Change-Id: I4316c1b66dca80f847fe9b0d583174689c175599 BUG: 870589 Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/4180 Reviewed-by: Kaleb KEITHLEY Reviewed-by: Mohammed Junaid Tested-by: Kaleb KEITHLEY --- swift/1.4.8/README | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'swift/1.4.8/README') diff --git a/swift/1.4.8/README b/swift/1.4.8/README index 18435e08a7e..9efd918b59a 100644 --- a/swift/1.4.8/README +++ b/swift/1.4.8/README @@ -3,20 +3,14 @@ via gluster-native/nfs mount to be accessed as containers and objects. It is a plugin for OpenStack Swift project. Install -* Clone the swift repo from git://github.com/openstack/swift.git -* Apply the swift.diff present in glusterfs.git/swift/1.4.8 to the swift repo. -* Create a directory named "plugins" under swift.git/swift directory. -* Copy the contents of glusterfs.git/swift/1.4.8/plugins/ under swift.git/swift/ - except the conf directory. -* Copy the contents of glusterfs.git/swift/1.4.8/plugins/conf under /etc/swift/. -* Run python setup.py install + * TBD Once this is done, you can access the GlusterFS volumes as Swift accounts. Add the Volume names with the user-name and its corresponding password to the /etc/swift/proxy-server.conf (follow the syntax used in the sample conf file). -Command to start the servers +Command to start the servers (TBD) swift-init main start -Command to stop the servers +Command to stop the servers (TBD) swift-init main stop -- cgit