sherwinchetan / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

s3fs does not work with buckets created in the us-west-1 region #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a bucket in us-west1
Sample code for jets3t:
String location = "us-west-1";
S3Service s3Service = new RestS3Service(awsCredentials);
s3Service.createBucket(bucket-name, location);

2. Mount the bucket with s3fs
3. Do an ls on the mount to watch s3fs freeze

Original issue reported on code.google.com by khawaja....@gmail.com on 11 Jan 2010 at 11:32

GoogleCodeExporter commented 8 years ago
can you use the s3fs "url" option to set the url endpoint ?

i.e., -ourl=us-west-1.blah blah blah ?

Original comment by rri...@gmail.com on 12 Jan 2010 at 12:13

GoogleCodeExporter commented 8 years ago
I tried :
-o url=s3-us-west-1.amazonaws.com
and -ourl=s3-us-west-1.amazonaws.com

It did not help. 

Original comment by khawaja....@gmail.com on 12 Jan 2010 at 12:55

GoogleCodeExporter commented 8 years ago
hi rrizun,
  Did you have any other ideas to resolve this issue? Thanks. Would you like me to
run any other tests or provide logs?

Regards,
Khawaja

Original comment by khawaja....@gmail.com on 16 Jan 2010 at 12:25

GoogleCodeExporter commented 8 years ago
I believe I have found the problem. The buckets created on the west-coast 
require the
use of virtual hosted-style URLs like : bucket.s3.amazon.aws.com instead of
s3.amazon.com/bucket. Looking at s3fs.cpp, it uses the latter, which is most 
likely
the root of the problem. 

For more information, please see:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?LocationSelecti
on.html

Original comment by khawaja....@gmail.com on 16 Jan 2010 at 12:56

GoogleCodeExporter commented 8 years ago
I think that this issue has been resolved as s3fs is using virtual hosted-style 
URLS now.  Can you confirm that this issue is resolved with the latest code?  
Thanks.

Original comment by dmoore4...@gmail.com on 6 Dec 2010 at 4:18

GoogleCodeExporter commented 8 years ago
With no response from the original reporter, it is assumed that the reporter is 
no longer interested or that the issue has since been resolved.  Marking this 
one fixed.

Original comment by dmoore4...@gmail.com on 19 Dec 2010 at 9:35