Issue 442 in s3fs: Access Problems with mounting a bucket using Fuse

160 views
Skip to first unread message

s3...@googlecode.com

unread,
Oct 7, 2014, 9:01:16 AM10/7/14
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Support Priority-Medium

New issue 442 by Stephan....@googlemail.com: Access Problems with mounting
a bucket using Fuse
https://code.google.com/p/s3fs/issues/detail?id=442

Detailed description of support request:

Hi Guys,

I installed s3fs and fuse according to this manual.
http://www.w3bootstrap.com/how-to-mount-aws-s3-bucket-on-aws-ec2-instances/
Here I have only used the current versions.

Now when I try to mount the S3 bucket I get from the console the message.
----------------------------------------------------------------------------------
[root@cmi01 ~]# s3fs -d -f -o allow_other redisdata /mnt/redisdata/
set_moutpoint_attribute(3291): PROC(uid=0, gid=0) - MountPoint(uid=0,
gid=0, mode=40755)
s3fs_init(2595): init
s3fs_check_service(2894): check services.
CheckBucket(2228): check a bucket.
RequestPerform(1467): connecting to URL
http://redisdata.s3.amazonaws.com/
RequestPerform(1595): ### CURLE_HTTP_RETURNED_ERROR
RequestPerform(1600): HTTP response code =403
s3fs: Failed to access bucket.
----------------------------------------------------------------------------------

The S3 Logfile says
----------------------------------------------------------------------------------
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:38:11 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann 74FFC728C2DBCCC3
REST.GET.VERSIONING - "GET /redisdata?versioning HTTP/1.1" 200 - 113 - 4
- "-" "S3Console/0.4" -
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:38:11 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann D00C2184310C25E8 REST.GET.WEBSITE
- "GET /redisdata?website HTTP/1.1" 404 NoSuchWebsiteConfiguration 324 - 22
- "-" "S3Console/0.4" -
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:38:42 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann C3428CC0CE87DD90
REST.GET.VERSIONING - "GET /redisdata?versioning HTTP/1.1" 200 - 113 - 4
- "-" "S3Console/0.4" -
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:50:32 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann 7E4C6AB30655153B REST.GET.ACL
- "GET /redisdata?acl HTTP/1.1" 200 - 2690 - 145 - "-" "S3Console/0.4" -
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:50:32 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann CBA22CC26313F9D3
REST.GET.VERSIONING - "GET /redisdata?versioning HTTP/1.1" 200 - 113 - 4
- "-" "S3Console/0.4" -
44a817511b4bee9c2c2cc3a4ac926abb83a5ebfa7a12316915aa399aec598ddc redisdata
[07/Oct/2014:11:50:32 +0000] 10.1.155.11
arn:aws:iam::490273246536:user/S.Mallmann E5F134C9E94953FE
REST.GET.NOTIFICATION - "GET /redisdata?notification HTTP/1.1" 200 - 115 -
19 - "-" "S3Console/0.4" -
----------------------------------------------------------------------------------

Please Help me to fix that error.

Thanks

===================================================================
The following information is very important in order to help us to help
you. Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version): 1.74

Version of fuse being used (pkg-config --modversion fuse): 2.9.3

System information (uname -a): Linux cmi01.test.aws.sm
2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64
x86_64 GNU/Linux

Distro (cat /etc/issue): CentOS release 6.5 (Final)
Kernel \r on an \m

s3fs command line used (if applicable): s3fs -d -f -o allow_other redisdata
/mnt/redisdata/

/etc/fstab entry (if applicable): s3fs#redisdata /mnt/redisdata fuse
allow_other,use_cache=tmp 0 0
#:q

s3fs syslog messages (grep s3fs /var/log/syslog):


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

s3...@googlecode.com

unread,
Oct 13, 2014, 10:23:21 AM10/13/14
to s3fs-...@googlegroups.com

Comment #1 on issue 442 by ggta...@gmail.com: Access Problems with mounting
Hi, Stephan

It seems s3fs could not access your bucket.
Please check /etc/passwd-s3fs or $HOME/.passwd-s3fs or passed file which is
specified on command line option.
(Whichever the bucket allows to access from your box.)

Thanks in advance for your help.

s3...@googlecode.com

unread,
Feb 4, 2015, 11:49:18 AM2/4/15
to s3fs-...@googlegroups.com

Comment #2 on issue 442 by danielle...@gmail.com: Access Problems with
Having the same issue.

error: "Transport endpoint is not connected"
with -f option in s3fs mount command, feedback:

set_moutpoint_attribute(3291): PROC(uid=0, gid=0) - MountPoint(uid=0,
gid=0, mode=40755)
s3fs_init(2595): init
s3fs_check_service(2894): check services.
CheckBucket(2228): check a bucket.
RequestPerform(1467): connecting to URL
http://daniellebucket.daniellebucket.s3.amazonaws.com/daniellebucket/.s3.amazonaws.com/daniellebucket/
RequestPerform(1595): ### CURLE_HTTP_RETURNED_ERROR
RequestPerform(1600): HTTP response code =403
s3fs: Failed to access bucket.

s3 logs:
arn:aws-us-gov:iam::914801853267:user/WrenD F90D93E9EED53A23
REST.GET.NOTIFICATION - "GET /?notification HTTP/1.1" 200 - 115 - 8
- "-" "aws-internal/3" -
c388b915aaadba4345483ef7559d8e563a0a5a7a828878367f69bf60f3a0e195
daniellebucket [04/Feb/2015:15:00:01 +0000] 10.212.16.40
arn:aws-us-gov:iam::914801853267:user/WrenD 8FEB95534E249D73
REST.GET.BUCKETPOLICY - "GET /daniellebucket?policy HTTP/1.1" 404
NoSuchBucketPolicy 295 - 12 - "-" "S3Console/0.4" -
c388b915aaadba4345483ef7559d8e563a0a5a7a828878367f69bf60f3a0e195
daniellebucket [04/Feb/2015:15:00:01 +0000] 10.212.16.40
arn:aws-us-gov:iam::914801853267:user/WrenD E7C45C0ADE08A892
REST.GET.WEBSITE - "GET /daniellebucket?website HTTP/1.1" 404
NoSuchWebsiteConfiguration 329 - 17 - "-" "S3Console/0.4" -
c388b915aaadba4345483ef7559d8e563a0a5a7a828878367f69bf60f3a0e195
daniellebucket [04/Feb/2015:15:10:38 +0000] 10.212.16.40
arn:aws-us-gov:iam::914801853267:user/WrenD 6024D34E2426C153
REST.GET.BUCKET - "GET
/daniellebucket?prefix=&max-keys=100&marker=&delimiter=/&encoding-type=url
HTTP/1.1" 200 - 352 - 22 21 "-" "S3Console/0.4" -


grep s3fs /var/log/messages:
Feb 4 10:36:29 ip-10-2-10-12 s3fs: init $Rev: 497 $
Feb 4 10:36:29 ip-10-2-10-12 s3fs: ### CURLE_HTTP_RETURNED_ERROR
Feb 4 10:36:29 ip-10-2-10-12 s3fs: HTTP response code =403

Checked ~/.passwd-s3fs
Checked /etc/passwd-s3fs
recreated keys
Checked permissions on S3 bucket, allows all for authenticated users
and 'me'

-s3fs version 1.74
-fuse version 2.8.3
-RHEL 6.6, kernel 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT
2014 x86_64 x86_64 x86_64 GNU/Linux
-s3fs command line: s3fs -o allow_other -o use_cache=/tmp -f -d -o
url=http://daniellebucket.s3.amazonaws.com/ daniellebucket /mnt/s3
Reply all
Reply to author
Forward
0 new messages