user
04/28/2022, 7:39 PMuser
04/28/2022, 8:06 PMuser
04/28/2022, 8:10 PMuser
04/28/2022, 8:25 PMuser
04/29/2022, 4:23 PMuser
04/29/2022, 4:32 PMuser
04/29/2022, 4:34 PMuser
04/29/2022, 6:28 PMuser
04/29/2022, 7:17 PMpath
- the repo
and the branch
should not be a part of the path
field, as well as the s3a://
prefix
Can you please try the following instead:
task_sense_file = LakeFSFileSensor(
task_id='sense_file',
repo='test',
branch='main',
lakefs_conn_id='conn_1',
path='foldername/users.parquet'
)
user
04/30/2022, 8:33 AMuser
04/30/2022, 8:46 AMuser
06/18/2022, 10:39 AMINFO [2022-06-18T10:29:54Z]lakeFS/pkg/auth/authenticator.go:54 pkg/auth.ChainAuthenticator.AuthenticateUser Failed to authenticate user error="2 errors occurred:\n\t* built in authenticator: could not decrypt value\n\t* email authenticator: not found: no rows in result set\n\n" host="137.184.147.128:8000" method=GET path=/api/v1/repositories/test/branches request_id=23de81ad-71e8-48ed-847c-fb688ccd61c6 service_name=rest_api username=AKIAJSEJPLE4NOPT4KEQ
ERROR [2022-06-18T10:29:54Z]lakeFS/pkg/api/auth_middleware.go:157 pkg/api.userByAuth authenticate error="2 errors occurred:\n\t* built in authenticator: could not decrypt value\n\t* email authenticator: not found: no rows in result set\n\n" host="137.184.147.128:8000" method=GET path=/api/v1/repositories/test/branches request_id=23de81ad-71e8-48ed-847c-fb688ccd61c6 service=api_gateway service_name=rest_api user=AKIAJSEJPLE4NOPT4KEQ
Hi @Barak Amar, please can you help me look at this error. I am having issues uploading my data to lakefs storage using lakefs client. It used to work before until generated new access keys to access the UI. Is there something I am doing wrongly?user
06/18/2022, 10:45 AMAKIAJSEJPLE4NOPT4KEQ
did you use the new key created by superuser?user
06/18/2022, 11:14 AMuser
06/18/2022, 11:17 AMuser
06/18/2022, 11:17 AMuser
06/18/2022, 11:17 AMuser
06/18/2022, 11:18 AMuser
06/18/2022, 11:18 AMuser
06/18/2022, 11:18 AMuser
06/18/2022, 11:20 AMuser
06/18/2022, 11:23 AMuser
06/18/2022, 11:25 AMuser
06/18/2022, 11:26 AMuser
06/18/2022, 11:26 AMuser
06/18/2022, 11:26 AMuser
06/18/2022, 11:27 AMuser
06/18/2022, 11:30 AMuser
06/18/2022, 11:31 AMuser
06/18/2022, 11:32 AMuser
06/18/2022, 11:32 AMuser
06/18/2022, 11:34 AMuser
06/18/2022, 12:01 PMuser
06/18/2022, 12:02 PMuser
06/18/2022, 12:04 PMuser
06/18/2022, 12:15 PMAKIAJSEJPLE4NOPT4KEQ
?user
06/18/2022, 12:17 PMuser
06/18/2022, 12:23 PMuser
06/18/2022, 12:24 PMuser
06/18/2022, 12:33 PMlakefs.yaml
if the values for s3.credentials.access_key_id
and s3.credentials.secret_access_key
are the values provided by Digital Ocean?user
06/18/2022, 12:40 PMuser
06/18/2022, 2:01 PMuser
06/20/2022, 8:16 AMs3 credentials
provided by Digital Ocean is the same as what I have in the lakefs.yaml
file.user
06/20/2022, 8:44 AMlakefs.yaml
using the aws-cli?user
06/20/2022, 8:51 AMecho "" | aws s3 cp - <s3://sonalysis-lakefs/test> --endpoint-url "<https://nyc3.digitaloceanspaces.com>"
user
06/20/2022, 8:53 AMuser
06/20/2022, 8:53 AMuser
06/20/2022, 8:54 AMAWS_SECRET_ACCESS_KEY=<YOUR-SECRET> AWS_ACCESS_KEY_ID=<YOUR-ACCESS> bash -c 'echo "" | aws s3 cp - <s3://sonalysis-lakefs/test> --endpoint-url "<https://nyc3.digitaloceanspaces.com>"'
user
06/20/2022, 10:34 AMdatabase:
connection_string: "<postgres://postgres>:xxxxxxxxxxxxxxxxxx"
#max_open_connections: 115
#max_idle_connections: 25
#connection_max_lifetime: 5m
auth:
encrypt:
secret_key: "MxxxxxVKXIZCPMI3SAZA2A"
blockstore:
type: s3
s3:
force_path_style: true
#endpoint: <http://nyc3.digitaloceanspaces.com|nyc3.digitaloceanspaces.com>
endpoint: <https://nyc3.digitaloceanspaces.com>
discover_bucket_region: false
credentials:
access_key_id: AKIAJSEJPLE4xxxxxxxx
secret_access_key: 5HMeHfyE8cal28rH+0zc8ECxr3bxxxxxxxxxxxxx
Now just to be clear, this is my config file and I have intentionally changed some of the secrets for security reasons, based on the second command you dropped, I have already created a new admin using the lakefs super user, and the access key credentials it generated for me are different from what I have in the last two lines in the config file. So my question is should I use this command using the access secrets for the new admin I created initially or stick with the one I have in my config file? @Guy Hardonaguser
06/20/2022, 2:29 PMlakefs.yaml
file.user
06/20/2022, 4:47 PMuser
06/20/2022, 6:16 PMuser
06/20/2022, 6:50 PMuser
06/20/2022, 7:20 PMuser
06/21/2022, 12:48 PMuser
06/21/2022, 1:00 PMuser
06/22/2022, 6:53 AMuser
06/22/2022, 7:16 AM