[Openstack-devel] Debian packages for ftp-cloudfs and sftpcloudfs

Thomas Goirand thomas at goirand.fr
Tue Feb 5 12:09:48 UTC 2013


On 02/05/2013 06:36 PM, Juan J. Martinez wrote:
> It's working but I suspect your config file may be wrong.

No it's not. If I copy sftpcloudfs.conf in /etc instead of in
/etc/sftpcloudfs/sftpcloudfs.conf like I want it, then it does work. So
I'd say that the daemon doesn't understand --config= at all!

> Can you confirm that the section in the configuration file is
> [sftpcloudfs]? (notice the *s* of SFTP).
> 
> Example:
> 
> [sftpcloudfs]
> auth-url = http://auth.storage.memset.com/v1
> host-key-file = id_rsa

I use something else. I use:

auth-url = https://auth.api.rackspacecloud.com/v1.0
host-key-file = /etc/sftpcloudfs/sftpcloudfs.key

> Then running:
> 
> sftpcloudfs -f -v --config sftpcloudfs.conf

Ah, now you're using --config [ SPACE ] and not --config=. That's not at
all what's in your README.md, or in the -h / --help thing...

Indeed, replacing the = by a space does work. I would strongly suggest
that you correct your doc,

I have made that change in the packaging already.

I have also made a separate python-ftp-cloudfs binary package, and and
sftpcloudfs does depend on that rather than ftp-cloudfs now. This way,
you don't need to run the ftp-cloudfs daemon if you only need SFTP support.

I'll add configuration of auth-url through debconf. However, I'm still
not sure. Is https://auth.api.rackspacecloud.com/v1.0 still a correct
default in your view? (for me, it makes sense...)

Cheers,

Thomas



More information about the Openstack-devel mailing list