Anonymous PutObject
request doesn't work #311
Labels
No Label
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#311
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
We cannot
PutObject
using anonymous request even when bucket ispublic-read-write
. Other operations works fine though.Expected Behavior
PutObject
(with--no-sign-request
) is successful when bucket ispublic-read-write
Current Behavior
We get
InternalError
.In logs:
Note:
NUUb82KR2JrVByHs2YSKgtK29gKnF5q6Vt
is address of gate, and this value is used as owner of new object.NbZwUUnt82vJWAcxddMqMbhYvJzGyvy2gE
is randomly generated (once on startup) key for anonymous requests.Possible Solution
Drop
else
branch here.Probably we should do the same for other methods. It must be fair enough because when request is authenticated it must have bearer token, otherwise we always should use gate key to do frostfs requests
Steps to Reproduce (for bugs)
aws s3api --endpoint http://localhost:8084 create-bucket --bucket test public-read-write
aws s3api --endpoint http://localhost:8084 put-object --bucket test --key tmp --no-sign-request
Regression
Probably yes.
Your Environment
cc34f659d1