Failed to check IAM role name
ziv-airis opened this issue · comments
Additional Information
Version of s3fs being used (s3fs --version
)
Amazon Simple Storage Service File System V1.90 (commit:unknown) with GnuTLS(gcrypt)
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Version of fuse being used (pkg-config --modversion fuse
, rpm -qi fuse
or dpkg -s fuse
)
Kernel information (uname -r
)
6.2.0-1017-aws
GNU/Linux Distribution, if applicable (cat /etc/os-release
)
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
How to run s3fs, if applicable
[] command line
sudo s3fs :<bucket_path> <local_path> -o iam_role=my-role -o endpoint=us-east-1 -f
[] /etc/fstab
s3fs syslog messages (grep s3fs /var/log/syslog
, journalctl | grep s3fs
, or s3fs outputs
)
2024-01-26T09:37:02.945Z [INF] s3fs.cpp:s3fs_init(3382): init v1.90(commit:unknown) with GnuTLS(gcrypt)
2024-01-26T09:37:02.949Z [CRT] s3fs.cpp:s3fs_check_service(3520): Failed to check IAM role name(my-role).
Details about issue
I have an ec2 in region us-east-1
The s3 bucket is in eu-east-2
I'm trying to run s3fs using IAM role, but it seems to failed on permissions.
I was trying to give different access without any luck.
Please advise