mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #742] "No AWSAccessKey was presented" Using iam_role #426
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#426
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @trejas on GitHub (Apr 2, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/742
Additional Information
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)
Amazon Simple Storage Service File System V1.83
Version of fuse being used (pkg-config --modversion fuse)
2.9.4
System information (uname -r)
4.9.81-35.56.amzn1.x86_64
Distro (cat /etc/issue)
Amazon Linux AMI release 2017.09
s3fs command line used (if applicable)
Details about issue
Will not allow me to mount the s3 bucket. The IAM role I am referencing has full access to s3. Not sure why the command is telling me that there are no credentials being presented.
@ramirantala commented on GitHub (Apr 15, 2018):
I have the same issue with exactly same versions.
I also verified with aws s3 cli that I can access the bucket.
@ramirantala commented on GitHub (Apr 15, 2018):
Actually it works if I specify the url to s3
-o url="https://s3-eu-west-1.amazonaws.com"
@trejas commented on GitHub (Apr 16, 2018):
You beat me to it. Was going to post the same suggestion.
@gaul commented on GitHub (Feb 3, 2020):
It appears this issue has a workaround. Please reopen if my understanding is incorrect.
@Makeshift commented on GitHub (Nov 26, 2020):
For reference, this still seems to be an issue with v1.87 (on EPEL).
Two buckets succeed in mounting:
Two do not:
The instance role has the AWS-provided
AmazonS3FullAccesspolicy attached.The listed workaround works, but it's still an odd one.
@joaoportela commented on GitHub (Feb 2, 2021):
Same happened to me too. Specifying the URL to s3 also solved the issue for me.
@superuser5 commented on GitHub (Feb 11, 2021):
same here, added -o url="https://s3-$EC2_REGION.amazonaws.com" to avoid the error message
whole line: s3fs -o iam_role='auto' -o use_cache=/tmp/s3fs share /opt/share/ -o _netdev -o allow_other -o iam_role=auto -o parallel_count=15 -o dbglevel=info -o multipart_size=128 -o curldbg -o url="https://s3-$EC2_REGION.amazonaws.com"
@leezu commented on GitHub (Sep 9, 2021):
Another option is to change the endpoint in the aws config file:
aws configure set default.s3.use_dualstack_endpoint true