Aaron Taylor
08/21/2024, 10:18 PMlakectl local
. The basic steps were:
• lakectl local init <lakefs://repo/branch/path> ./local-path
• lakectl local commit local-path -m 'testing this out'
The commit command then runs for a few seconds, but errors out with:
upload folder/example.pdf failed: get physical address to upload object: http2: response body closed
and the whole thing stops. Any guidance on how to resolve this issue?Niro
08/21/2024, 10:40 PMAaron Taylor
08/22/2024, 2:56 AM344K
which it failed on.
And ah, looking at the logs I see a lot of this:
time="2024-08-22T02:47:25Z" level=error msg="error generating pre-signed URL" func="pkg/block/gs.(*Adapter).GetPreSignedURL" file="build/pkg/block/gs/adapter.go:239" error="unable to sign bytes: googleapi: Error 403: Permission 'iam.serviceAccounts.signBlob' denied on resource (or it may not exist).\nDetails:\n[\n {\n \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n \"domain\": \"iam.googleapis.com\",\n \"metadata\": {\n \"permission\": \"iam.serviceAccounts.signBlob\"\n },\n \"reason\": \"IAM_PERMISSION_DENIED\"\n }\n]" host=<snipped> method=GET operation_id=GetPhysicalAddress path="<snipped out of this example>&presign=true" user=plus-dev
I'm guessing that may be the cause? I saw the protocol error in the client and had assumed it was going wrong at the network layer somehow instead. I will look at granting permissions to sign blobs and see if that fixes it!Niro
08/22/2024, 3:01 AMAaron Taylor
08/22/2024, 5:24 PMNiro
08/22/2024, 5:25 PMNiro
08/22/2024, 5:45 PM