user
11/09/2021, 3:17 PMlakefs.example.com and
lakefs.portal.example.com.
If you access lakefs.portal.example.com it authenticates you with GCP and then forwards you to the portal. It also adds https to the connection. Works well.
If you go to the lakefs.example.com it drops the connection if the url
doesn't contain "/api". Since all portal access should go to the other endpoint. It also adds https to the connection.
I've configured the lakectl command and put the endpoint_url to https://lakefs.example.com/api/v1. And the command works.
I can run lakectl fs ls lakefs://testrepo/main/ and get the correct listing.
Then I tried to use the aws cli. I created a profile called lakefs with the
key and secret. And then I called it like this:
aws --profile lakefs --endpoint-url https://lakefs.example.com/ s3 ls s3://testrepo/main/
And I get the following error:
An error occurred (404) when calling the ListObjectsV2 operation: Not foundI figured it was the wrong endpoint so I changed it to
https://lakefs.example.com/api/v1
And then I get this error:
An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not existSo my questions are: • First of all, "should" this work? :) • Second, what should the endpoint_url be? ◦ When I look at the architecture diagram I guess the S3 requests goes to the S3 Gateway? ◦ And my setup right now is dropping those requests? Please let me know if you have any suggestions or need any info. :) //Mattias
user
11/09/2021, 3:32 PMhttps://lakefs.example.com/user
11/09/2021, 3:36 PM/apiuser
11/09/2021, 4:10 PM/api you are blocking all S3 gateway requests as welluser
11/09/2021, 4:20 PMs3.lakefs.example.com *.s3.lakefs.example.com)
https://docs.lakefs.io/setup/virtual-host-addressing.htmluser
11/10/2021, 6:40 AMuser
11/10/2021, 6:51 AMuser
11/10/2021, 7:54 AMuser
11/10/2021, 8:08 AMuser
11/10/2021, 8:09 AMuser
11/10/2021, 8:11 AM