Open Stack

Using CloudFuse

Install various dependencies :

apt-get install gcc libcurl4-openssl-dev libxml2 libxml2-dev make libfuse-dev

Install cloudfuse with the auto configuration script. Get the sources from GitHub to have the latest version that supports file copy.

wget http://c16281.r81.cf2.rackcdn.com/cloudfuse-0.1.tar.gz
wget https://github.com/redbo/cloudfuse/zipball/master

Unzip the content of the archive, and enter the cloudfuse directory.

./configure
make
make install

Then :
Create a .cloudfuse file in the home directory, containing

username=TENANT_ID:emailusedtologin
api_key=passwordUsedToLogInToConsole
authurl=https://region-a.geo-1.identity.hpcloudsvc.com:35357/v1.0/

Beware of the 1.0 instead of 2.0

Make sure that the FUSE module is loaded

modprobe fuse

Create a mount point, for example /var/cloudfiles

mkdir /var/cloudfiles

Mount
the file system with the option -o allow_other to make sure the webserver will be able to access it.

cloudfuse -o allow_other ./cloufiles

This can added to /etc/fstab to make it automatically loaded at startup.