Jennifer Cristina Evangelista Da Silva
04/26/2022, 3:39 PMerror="SharedCredsLoad: failed to load shared credentials file\ncaused by: FailedRead: unable to open file\ncaused by: open /tmp/.aws/credentials: no such file or directory" reason=unknown service=api_gateway
Shimi Wieder
04/26/2022, 3:50 PMShimi Wieder
04/26/2022, 3:52 PMShimi Wieder
04/26/2022, 4:06 PMJennifer Cristina Evangelista Da Silva
04/26/2022, 5:23 PMblockstore.s3.region
(string : "us-east-1")
- Default region for lakeFS to use when interacting with S3.
• blockstore.s3.profile
(string : )
- If specified, will be used as a named credentials profile
• blockstore.s3.credentials_file
(string : )
- If specified, will be used as a credentials file
• blockstore.s3.credentials.access_key_id
(string : )
- If specified, will be used as a static set of credential
• blockstore.s3.credentials.secret_access_key
(string : )
- If specified, will be used as a static set of credential
• blockstore.s3.credentials.session_token
(string : )
- If specified, will be used as a static session tokenJennifer Cristina Evangelista Da Silva
04/26/2022, 5:25 PMShimi Wieder
04/26/2022, 5:45 PMLAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID
you passed your AWS Access key, correct?Shimi Wieder
04/26/2022, 5:51 PMShimi Wieder
04/26/2022, 6:06 PMShimi Wieder
04/26/2022, 6:09 PMAriel Shaqed (Scolnicov)
04/27/2022, 6:57 AMlogging.level
(or LAKEFS_LOGGING_LEVEL
env variable) to trace
), etc. Then run env
inside the container, verify that the environment variables have their expected values, etc.
2. Switch to configuring directly. As mentioned, when lakeFS does not find a specific configuration in its configuration file or environment variables, it tries to use the default AWS credentials. So it will through env variables AWS_PROFILE
, AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
, through the credentials in $HOME/.aws/credentials
, and then try to go and get instance metadata if running with an appropriate role inside EC2. You could use one of these "regular" configuration options. One advantage is that it is easy to test that your environment is correctly configured -- you only have to run the boto CLI command aws sts get-caller-identity
and see that it works.
Hope one of these routes can help us advance!Jennifer Cristina Evangelista Da Silva
04/28/2022, 2:08 PMAriel Shaqed (Scolnicov)
04/28/2022, 2:34 PM