Raghavendra Hegde
10/06/2021, 10:57 AMBarak Amar
Barak Amar
Barak Amar
Raghavendra Hegde
10/06/2021, 11:07 AMBarak Amar
Barak Amar
Raghavendra Hegde
10/06/2021, 11:09 AMRaghavendra Hegde
10/06/2021, 1:33 PMRaghavendra Hegde
10/06/2021, 1:33 PMRaghavendra Hegde
10/06/2021, 1:34 PMblockstore:
type: s3
s3:
region: me-jeddah-1
force_path_style: true
endpoint: <http://lakefs-demo.mynamespace-oci.compat.objectstorage.me-jeddah-1.oraclecloud.com|lakefs-demo.mynamespace-oci.compat.objectstorage.me-jeddah-1.oraclecloud.com>
credentials:
access_key_id: "mykey"
secret_access_key: "myskey"
Raghavendra Hegde
10/06/2021, 1:35 PMBarak Amar
Barak Amar
Raghavendra Hegde
10/06/2021, 1:41 PMRaghavendra Hegde
10/06/2021, 1:53 PMRaghavendra Hegde
10/06/2021, 1:53 PMRaghavendra Hegde
10/06/2021, 2:01 PMBarak Amar
Barak Amar
Raghavendra Hegde
10/06/2021, 2:07 PMRaghavendra Hegde
10/06/2021, 2:09 PMRaghavendra Hegde
10/06/2021, 2:10 PMBarak Amar
Raghavendra Hegde
10/06/2021, 2:16 PMRaghavendra Hegde
10/06/2021, 2:19 PMBarak Amar
Barak Amar
Raghavendra Hegde
10/06/2021, 2:36 PMERROR [2021-10-06T14:18:42Z]lakeFS/pkg/block/s3/adapter.go:233 pkg/block/s3.(*Adapter).streamToS3 bad S3 PutObject response
error="s3 error: <?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Message>STREAMING-AWS4-HMAC-SHA256-PAYLOAD is not supported.
</Message><Code>InvalidRequest</Code></Error>" host="193.122.66.125:8001"
method=POST operation=PutObject path=/api/v1/repositories request_id=b2069245-6859-4e0a-a060-82d73e43c516
service_name=rest_api status_code=400 url="<https://mynamespace-oci.compat.objectstorage.me-jeddah-1.oraclecloud.com/lakefs-demo/dummy>"
Barak Amar
Raghavendra Hegde
10/06/2021, 3:22 PMBarak Amar
STREAMING-AWS4-HMAC-SHA256-PAYLOAD is not supported
.
When we create a repository we try to upload and download a dummy file to understand if we can work with the underlying storage. In this case the Put request failed.
lakeFS uses this method in order to stream the object content while you upload a file to lakeFS - this is enabled with chunked requests.
Later I've found https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/s3compatibleapi.htm where under 'Here is an example of configuring AWS SDK for Java to use Object Storage' I've found that they ask to set disableChunkedEncoding
(we are not using java) but this is the method we currently use.
I'll open an issue to capture the above, and update tomorrow about time frame we can address it.Barak Amar
Barak Amar
Raghavendra Hegde
10/07/2021, 5:36 AM