Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Upload of big objects to bucket stuck #663

Open
av-lasse opened this issue Jan 22, 2025 · 0 comments
Open

[Bug]: Upload of big objects to bucket stuck #663

av-lasse opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@av-lasse
Copy link

av-lasse commented Jan 22, 2025

Current Behavior

If you try to upload a "big" file bigger than 5mb, so it uses multipartupload, to a bucket you don't have permission to, instead of failing, the upload is just stuck forever.

exo storage upload bigfile  sos://bucket
bigfile          [=>----------------------------------------------------------------------------] 5.00 MiB / 166.61 MiB | 15s

Expected Behavior

I would expect the upload to fail, with a permission error like if you try with a small file

exo storage upload smallfile  sos://bucket
smallfile        [------------------------------------------------------------------------------] 0.00 b / 0.00 b | 0s
error: operation error S3: PutObject, https response error StatusCode: 403, RequestID: 4b046c3c-801d-42ce-bebd-da7aa9ebc982, HostID: 4b046c3c-801d-42ce-bebd-da7aa9ebc982, api error AccessDenied: You are not authorized to perform put-object on bucket bucket

Steps To Reproduce

# dd if=/dev/zero of=bigfile  bs=10M  count=1
# exo storage upload bigfile  sos://bucket

CLI Version

exo 1.83.0 867acd0 (egoscale 0.102.3)

Os platform

linux

Relevant log output

@av-lasse av-lasse added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant