Monde Sinxi
03/02/2023, 3:25 PM[lakefs]
env_auth = false
type = s3
provider = Other
endpoint = <http://lakefs:8000>
region = use-east-1
secret_access_key = $SECRET_ACCESS_KEY
access_key_id = $ACCESS_KEY_ID
force_path_style = true
no_check_bucket = true
I have to use Other
as a provider because rclone will override force_path_style
with false
if I use the AWS
provider as suggested on the docs.
If I then run:
rclone ls -vv --dump=bodies lakefs:repo/branch/path
I get the following error
2023/03/02 17:11:13 Failed to lsd with 2 errors: last error was: MissingFields: Missing fields in request.
status code: 400, request id: , host id:
Anyone have any idea how I go about resolving this?
``````Itai Admi
03/02/2023, 3:40 PM<lakefs://repo/branch/path>
, isn’t it so?Monde Sinxi
03/02/2023, 3:49 PMItai Admi
03/02/2023, 3:49 PMItai Admi
03/02/2023, 3:50 PMregion=use-east-1
in your config, maybe that typo makes the difference?Itai Admi
03/02/2023, 3:53 PM[lakefs]
type = s3
provider = s3
access_key_id = <ACCESS_KEY_ID>
secret_access_key = <SECRET_ACCESS_KEY>
region = us-east-1
endpoint = <http://127.0.0.1:8000>
Monde Sinxi
03/02/2023, 4:03 PMdocker-compose.yml
file here are the relevant bits.. am I missing anything?
environment:
LAKEFS_AUTH_ENCRYPT_SECRET_KEY: "ENCRYPT_KEY"
LAKEFS_DATABASE_TYPE: "postgres"
LAKEFS_DATABASE_POSTGRES_CONNECTION_STRING: "<postgres://postgres:password@postgres:5432/lakefs>"
LAKEFS_BLOCKSTORE_TYPE: "s3"
LAKEFS_BLOCKSTORE_S3_ENDPOINT: "<http://minio-prod:9000>"
LAKEFS_BLOCKSTORE_S3_FORCE_PATH_STYLE: "true"
LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID: "minioadmin"
LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY: "minioadmin"
LAKEFS_BLOCKSTORE_S3_DISCOVER_BUCKET_REGION: "false"
LAKECTL_SERVER_ENDPOINT_URL: "<http://localhost:8000>"
BLOCKSTORE_S3_SKIP_VERIFY_CERTIFICATE_TEST_ONLY: "false"
LAKEFS_LOGGING_LEVEL: "INFO"
LAKEFS_STATS_ENABLED: "true"
Monde Sinxi
03/02/2023, 4:05 PMItai Admi
03/02/2023, 4:19 PMMonde Sinxi
03/02/2023, 4:56 PMItai Admi
03/02/2023, 4:59 PMMonde Sinxi
03/02/2023, 5:07 PMMonde Sinxi
03/02/2023, 5:09 PMItai Admi
03/02/2023, 5:10 PMMonde Sinxi
03/02/2023, 5:34 PM--s3-v2-uath
flag and that did not work... I still get the same errorItai Admi
03/02/2023, 5:36 PMMonde Sinxi
03/02/2023, 5:58 PMItai Admi
03/02/2023, 5:59 PM