Kledsky / s3fuse

Automatically exported from code.google.com/p/s3fuse
Other
0 stars 0 forks source link

Ubuntu 14.04 and s3fuse trusty resulting in input/output error on aws ubuntu instance #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Spin up fresh aws Ubuntu 14.04 image
2. wget 
https://launchpad.net/~s3fuse/+archive/ubuntu/stable/+files/s3fuse_0.15-1ubuntu1
%7Etrusty1%7Eppa1_amd64.deb
3. sudo dpgk -i ./s3fuse_0.15-1ubuntu1~saucy1~ppa1_amd64.deb
4. sudo apt-get install -f
5. sudo dpgk -i ./s3fuse_0.15-1ubuntu1~saucy1~ppa1_amd64.deb
6. mkdir ~/.s3fuse
7. cp /etc/s3fuse.conf ~/.s3fuse/s3fuse.conf
8. edit ~/.s3fuse/s3fuse.conf, uncomment and edit
         service=aws
         bucket=s3fuse-bucket
         aws_secret_file=/home/ubuntu/.s3fuse/aws.key
9. create /home/ubuntu/.s3fuse/aws.key with space delimited access key and 
secret key, chmod to 600 (user read write)
10. mkdir ./awsstore
11. sudo s3fuse -v 10 -o allow_other,default_permissions ./awsstore
-----------main: s3fuse version 0.15 (r792), initialized
12. sudo ls ./awsstore
13. sudo cp /etc/fstab ./awsstore         

What is the expected output? What do you see instead?
The ls command should show an empty directory (as the bucket is empty)
The cp command should move a copy of the fstab into the S3 store.
All normal filesystem commands result in input output erros
-------------
ubuntu@ip-172-31-39-208:~$ sudo ls ./awsstore 
ls: reading directory ./awsstore: Input/output error
ubuntu@ip-172-31-39-208:~$ sudo cp /etc/fstab ./awsstore 
cp: cannot create regular file ‘./awsstore/fstab’: Input/output error
-------------

I've also pulled up a version of saucy(ubuntu and s3fuse) and have run into 
similar issues.
The S3 access and secret keys I'm using have worked on other S3 tools, and work 
as access keys for s3 command line tools on windows2012, so I feel they aren't 
likely the problem (and I'd expect to see an access error in the logs)

What version of the product are you using? On what operating system?
I'm running Ubuntu 14.04 with S3fuse trusty s3fuse version 0.15 (r792)

Please provide any additional information below.
From Syslog
Feb 16 21:31:04 ip-172-31-39-208 s3fuse: main: s3fuse version 0.15 (r792), 
initialized
Feb 16 21:31:04 ip-172-31-39-208 s3fuse: operations::init: enabling 
FUSE_CAP_ATOMIC_O_TRUNC
Feb 16 21:31:04 ip-172-31-39-208 s3fuse: curl_easy_handle::pre_init: ssl 
version: OpenSSL/1.0.1f
Feb 16 21:31:52 ip-172-31-39-208 s3fuse: readdir: path: /
Feb 16 21:32:06 ip-172-31-39-208 s3fuse: create: path: /fstab, mode: 0100644
Feb 16 21:32:06 ip-172-31-39-208 s3fuse: object::commit: failed to commit 
object metadata for [/s3fuse-bucket/fstab].

Original issue reported on code.google.com by jakeai...@gmail.com on 16 Feb 2015 at 9:38

GoogleCodeExporter commented 9 years ago
In which region have you created your bucket?

Original comment by tar...@bedeir.com on 1 Mar 2015 at 6:59