[GH-ISSUE #2402] Failed to check IAM role name #1184

Closed
opened 2026-03-04 01:52:00 +03:00 by kerem · 0 comments
Owner

Originally created by @ziv-airis on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2402

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

Originally created by @ziv-airis on GitHub (Jan 26, 2024). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2402 <!-- -------------------------------------------------------------------------- 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. Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD. --------------------------------------------------------------------------- --> ### 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`) <!-- example: 2.9.2 --> #### 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 <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line sudo s3fs <my-bucket>:<bucket_path> <local_path> -o iam_role=my-role -o endpoint=us-east-1 -f [] /etc/fstab <!-- Executed command line or /etc/fastab entry --> ``` ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` 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 <!-- Please describe the content of the issue in detail. --> 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
kerem closed this issue 2026-03-04 01:52:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1184
No description provided.