OpenStack Swift running with FUSE filesystem

asked 2017-05-06 18:57:16 -0500

mgarg gravatar image

So, I am getting into some issues when I am trying to make OpenStack Swift work with Fuse Filesystem.

I have created a PassThrough Fuse Application (similar to this: (pt)). So, what I do is I first run the Swift cluster (simulated on a single VM) on a default directory (say /data/1). I then upload an object to a container. Now, I kill all my Swift processes and start them again on a different directory (say /data/1_tmp). I also start my Fuse client on (/data/1_tmp) to redirect the operations from the directory /data/1 (using fuse's -omodules flag).

However, while I am able to access account/container data in Swift using this second directory (mounted using FUSE), I get an error while downloading my object.

Theoretically, for Swift it shouldn't matter as the file system operations returned are the same. However, I am never able to access my Object Files. I have tried a lot of different things including detailed analysis of the various log files, but none of them seems to help out with this weird behavior.

Any pointers would be very helpful.

edit retag flag offensive close merge delete