[Openstack] [Swift]Swift Client Synchronization

Hieu Le hieulq89 at gmail.com
Sun Feb 12 10:38:51 UTC 2012


Hi again everyone,

I have tried s3fs and there are some problems, can anyone that have tried
s3fs with swift help me solve this ?

The first problem is that s3fs have a format for the password store file
(may be) incompatible for using swift authentication. s3fs password file
have a format like: accessKeyId:secretAccessKey. S3fs use colon symbol to
get ID and secret key, but Swift ID have a format like system:root, so if I
using s3fs password file, it will be: system:root:testpass. S3fs will not
establish an connection to Swift because S3fs can not get ID and key from
above format. :(

I try environment variable for ID and secretkey for solving this, but it is
uncomfortable if I have multiple account. When using environment variable,
I got the second problem. It is when I use s3fs command to mount folder via
https connection, s3fs give me error: "s3fs: curlCode: 60 msg: Peer
certificate cannot be authenticated with known CA certificates". I think
there may be an error in configuration of curl or something else, so I
disable https and use http instead of. Then s3fs give me error:
"Authenticated failed", via log I got "Feb 12 14:34:35 swift s3fs: ###
CURLE_COULDNT_RESOLVE_HOST
Feb 12 14:34:37 swift s3fs: ###retrying..." :( I can not understand why
because I can authenticate and using via Cyberduck successfully.

I'm using fuse 2.8.6, s3fs lastest version and my command is: s3fs myfiles
/mnt -o url=https://192.168.50.110:8080/auth/v1.0

Someone have tried S3fs can give me some help ?

On Sat, Feb 11, 2012 at 9:43 PM, Hieu Le <hieulq89 at gmail.com> wrote:

> Thank you Stephen, I will try s3fs and give feedback.
>
> I don't want to use Cyberduck or Gladinet, I like mounting file/folders
> and work with them like normal folder, so I will try to use s3fs.
>
> Thank you all :)
>
>
> On Sat, Feb 11, 2012 at 12:00 AM, Stephen Broeker <sbroeker at internap.com>wrote:
>
>>  Looks like you want to mount your Swift Account as a UFS like file
>> system.
>> This is called Gateway.
>> Folks typically use Fuse to do this.
>> Check out s3fs.
>>
>> On Fri, Feb 10, 2012 at 7:53 AM, Hieu Le <hieulq89 at gmail.com> wrote:
>>
>>>  Hello everyone,
>>>
>>>  I'm starting to study about openstack cloud and it is very great to
>>> learn with Swift.
>>> Now I'm wondering is there some methods to make downloaded file/folder
>>> in client automatically synchronize with Swift.
>>>
>>>  For example, I downloaded a file/folder in my computer from Swift,
>>> after modify contents in this file/folder I want it to synchronize with
>>> Swift (smt like Dropbox). Can you suggest me some methods to do this ?
>>>
>>>  IMO, I think I need to set up rsync in my computer and configure it to
>>> sync with swift ? But this seem to be difficult .. Another solutions is
>>> finding a way to mount folder from Swift in client. But it (again) seems to
>>> be difficult, I can not find any documentation described it.
>>>
>>>  Please give me some solutions.
>>>
>>>  Thank you for your attention !
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> ..:: Lê Quang Hiếu ::..
>
> Class: Information System - Course 52
> School of Information and Communication Technology
> Hanoi University of Technology
> No 1, Dai Co Viet street - Hai Ba Trung district - Hanoi
>
> Y!M: h2_fit at yahoo.com
> Gmail: hieulq89 at gmail.com
>



-- 
..:: Lê Quang Hiếu ::..

Class: Information System - Course 52
School of Information and Communication Technology
Hanoi University of Technology
No 1, Dai Co Viet street - Hai Ba Trung district - Hanoi

Y!M: h2_fit at yahoo.com
Gmail: hieulq89 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120212/5c0e89b4/attachment.html>


More information about the Openstack mailing list