Comments (5)
To add to this, when I enable IMDS authentication I seem to be able to find the correct endpoint , but when I disable IMDS versions v1 and v2 the failure occurs!
from mountpoint-s3.
Thanks for the bug report, @csy97. Yes, it looks like a bug. Specifically, it looks like assuming a role is not working outside of the global regions - i.e. China, US Gov Cloud.
We'll continue looking into this - I'll provide an update soon.
from mountpoint-s3.
hello ,I noticed that this aws-c-auth seems to have fixed the problem and the project has updated the branch information for crt dependency, I would like to enquire when the new binary/rpm version of mount-s3 will be released!
from mountpoint-s3.
Hi @csy97, we have integrated the fix and we are adding integration tests for it. We plan to include it in the next release, but we cannot share a date for it, yet.
from mountpoint-s3.
Hey @csy97.
For this issue, we recommend that you put the configuration for the AWS profile in your AWS config file (typically ~/.aws/config
) while the actual credentials live in your AWS credentials file (typically ~/.aws/credentials
). (Or better yet, use short-term credentials if possible for this use case.)
For instance, we'd recommend this:
# in ~/.aws/config`
# "profile" below is important
[profile bwmtest2]
output=json
region=cn-northwest-1
role_arn=arn:aws-cn:iam::714736990101:role/s3fullrole
source_profile=default
# in ~/.aws/credentials`
[default]
aws_access_key_id = ak
aws_secret_access_key = sk
The benefit here is that you could share the config file and avoid sharing the credentials file.
I've just tested this use case in cn-north-1 with mountpoint-s3 v1.7.0 released today, storing the profile in a config file and credentials in a credentials file and it worked OK. Storing the profile configuration in the credentials file does not work, and we would not recommend it.
I'll close this issue for now, please re-open if you are still having issues.
from mountpoint-s3.
Related Issues (20)
- The memory usage of mount-s3 increases and the process terminates abnormally HOT 3
- Enhance error reporting in the put_object operation.
- Authentication bug: no signing credentials found but AWS CLI works HOT 8
- failure when trying to store live logs (pm2) to mounted bucket HOT 1
- Add parameter --log-file HOT 4
- Slow throughput when reading many small files HOT 6
- Allow mounting to non-empty directories HOT 2
- `os.listdir` (and presumably other os functions) fails in the face of signals HOT 1
- Support rotation of the log file
- Reduce the number of S3 API calls when the same object is requested at the same time HOT 4
- Limiting with the 「--maximum-troughput-gbps」 option does not work HOT 2
- Mountpoint Cache exceeding the ephemeral storage of the pod HOT 5
- File read occasionally fails with 'Input/output error (os error 5)' HOT 3
- Startup option to ignore mode change errors HOT 2
- Possible failures caused by interrupts during system call
- Automatically adjust prefetching based on available memory
- `LD_PRELOAD`-based virtual s3 FS for systems without FUSE module installed HOT 4
- Add support to use mountpoint-s3 as a docker volume driver using a plugin HOT 2
- Alert when mountpoint-s3 mounted and unmounted HOT 1
- Support unlink while writing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mountpoint-s3.