Add swift block backend support #192

Closed
wants to merge 8 commits into
from

Conversation

Projects
None yet
5 participants

I add swift( http://swift.openstack.org ) block backend support,but right now swift user authentication information must set in common/block-backend-swift.c:

define DEFAULT_TENANTNAME "myproject"

define DEAFULT_USERNAME "renwofei"

define DEFAULT_PASSWORD "123123"

Maybe in the future with seafile user bind.

You must set seafile-data/seafile.conf like this:

[block_backend]
name=swift
scheme=http
host=172.19.69.170
port=5000
api_version=v2.0
auth_url_ext=tokens
container=swiftbox

Owner

freeplant commented Apr 16, 2013

Thanks. But since we don't have a swift system and can't test it, we will not merge it now. If someone else also need this feature and can perform a test/check, we will then merge it.

I have rackspace/dreamobject swift account and would like to test this out.

But I need some guidelines (may be step by step) on how to pull and compile this branch to test it.

OK. I will write a guideline later.

freeplant closed this Jan 16, 2014

F0rth commented Jan 21, 2014

I've tried to merge Renwofei423 patches, but they use json-glib and need some re-work in common/block-backend-swift.c around lines ~ 130 - 150 "JsonParser" "JsonReader" to use jansson, as far as I understand the code. I have access to a swift cluster to perfom tests.

Owner

lins05 commented Jan 21, 2014

Hi,

The code contributed in this pull request was not merged.

We have official Swift/S3 support is in seafile business edition. Please
refer to http://seafile.com/en/product/private_server/

Regards,
Lin

On Tue, Jan 21, 2014 at 6:19 PM, F0rth notifications@github.com wrote:

I've tried to merge Renwofei423 patches, but they use json-glib and need
some re-work in common/block-backend-swift.c around lines ~ 130 - 150
"JsonParser" "JsonReader" to use jansson, as far as I understand the code.
I have access to a swift cluster to perfom tests.


Reply to this email directly or view it on GitHubhttps://github.com/haiwen/seafile/pull/192#issuecomment-32835948
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment