Ori Pekelman
11/30/2020, 10:15 PMOri Pekelman
11/30/2020, 10:16 PMOri Pekelman
11/30/2020, 10:16 PMAriel Shaqed (Scolnicov)
11/30/2020, 10:25 PMOz Katz
Ariel Shaqed (Scolnicov)
12/01/2020, 8:14 AMAriel Shaqed (Scolnicov)
12/01/2020, 8:18 AMOri Pekelman
12/01/2020, 8:56 AMcat .lakefs.yaml
---
listen_address: "0.0.0.0:8888"
database:
connection_string: "<postgres://main:main@postgresdatabase.internal:5432/main?sslmode=disable>"
#blockstore:
# type: "local"
# local:
# path: "~/lakefs_data"
auth:
encrypt:
# we need to figure out a way to get this from PLATFORM_PROJECT_ENTROPY
secret_key: "CHANGEME-ZJVRI5JFZN6XXUGWEKADTCYBTPDPORH7ADEWTSO2ZKGGCYS2HG5A"
blockstore:
type: s3
s3:
region: us-east-1
force_path_style: true
endpoint: <https://s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site>
credentials:
access_key_id: admin
access_secret_key: minioadmin
(don’t worry about credentials in public slack .. this is a throway example I will destroy with prejudice shortly).Ori Pekelman
12/01/2020, 8:57 AMmc alias set miniolake <https://s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site> admin minioadmin
and
mc admin trace miniolake
Ori Pekelman
12/01/2020, 8:58 AMgateways:
`Ori Pekelman
12/01/2020, 8:59 AMAriel Shaqed (Scolnicov)
12/01/2020, 9:05 AMAriel Shaqed (Scolnicov)
12/01/2020, 10:14 AMminio/minio
(from DockerHub), with or without the gateways
stanza in lakeFS config. I tried accessing it with S3 v2 and v4 signatures, no issues there either.
Is there something special about your minio configuration, perhaps?Ori Pekelman
12/01/2020, 11:28 AMwget -N <https://dl.min.io/server/minio/release/linux-amd64/minio>
chmod +x minio
mv minio ~/bin/
Ori Pekelman
12/01/2020, 11:28 AMstart: ~/bin/minio server --address ":$PORT" ~/data/files
Ori Pekelman
12/01/2020, 11:29 AMgateways
propertyOri Pekelman
12/01/2020, 11:30 AMOri Pekelman
12/01/2020, 11:31 AMAriel Shaqed (Scolnicov)
12/01/2020, 11:31 AMgateways
is a red herring right now, and prefer to ignore it (for now).Ariel Shaqed (Scolnicov)
12/01/2020, 12:01 PMOri Pekelman
12/01/2020, 12:45 PMOri Pekelman
12/01/2020, 12:45 PM<http://s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site|s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site> Authorization: AWS4-HMAC-SHA256 Credential=admin/20201201/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=4d619538ded157bf48241cad8f7192fc335b0ce06cb59ba6c62364361a1d9187
<http://s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site|s3.master-7rqtwti-u2fgs74krpwaa.eu-3.platformsh.site> Authorization: AWS4-HMAC-SHA256 Credential=admin/20201201/us-east-1/s3/aws4_request, SignedHeaders=content-encoding;expect;host;transfer-encoding;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length, Signature=0a4957240fb29d7f1c531a127ddade3033feb3fe1d3c278f8265ca70758f18f6```
Ori Pekelman
12/01/2020, 12:46 PMOri Pekelman
12/01/2020, 12:49 PMContent-Encoding: aws-chunked
.. and signing the payload while the mc tool seems to be X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
vs X-Amz-Content-Sha256: STREAMING-AWS4-HMAC-SHA256-PAYLOAD
Ori Pekelman
12/02/2020, 10:33 AMOri Pekelman
01/31/2021, 4:45 PMOri Pekelman
01/31/2021, 4:45 PMSignatureDoesNotMatch
... I am now on v0.30.0