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
rgw/s3: ListObjectsV2 returns correct object owners #51265
Conversation
Fixes: https://tracker.ceph.com/issues/59471 Signed-off-by: Casey Bodley <cbodley@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks plausible
created a testbucket, enabled public read acl, and uploaded a single 'keyring' object. used awscli to send list-objects-v2 requests with two separate vstart users, and confirmed that they both correctly show 'testid' as the object owner: (virtualenv) cbodley@fedora ~/ceph/build $ AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRST AWS_SECRET_ACCESS_KEY=abcdefghijklmnopqrstuvwxyzabcdefghijklmn aws --endpoint-url http://localhost:8000 s3api list-objects-v2 --bucket testbucket --fetch-owner
{
"Contents": [
{
"Key": "keyring",
"LastModified": "2023-04-27T14:47:53.505Z",
"ETag": "\"898c361f90cb2a813fe0490c565d6031\"",
"Size": 294,
"StorageClass": "STANDARD",
"Owner": {
"DisplayName": "M. Tester",
"ID": "testid"
}
}
]
}
(virtualenv) cbodley@fedora ~/ceph/build $ AWS_ACCESS_KEY_ID=0555b35654ad1656d804 AWS_SECRET_ACCESS_KEY=h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q== aws --endpoint-url http://localhost:8000 s3api list-objects-v2 --bucket testbucket --fetch-owner
{
"Contents": [
{
"Key": "keyring",
"LastModified": "2023-04-27T14:47:53.505Z",
"ETag": "\"898c361f90cb2a813fe0490c565d6031\"",
"Size": 294,
"StorageClass": "STANDARD",
"Owner": {
"DisplayName": "M. Tester",
"ID": "testid"
}
}
]
} |
jenkins test make check |
jenkins test make check |
1 similar comment
jenkins test make check |
Fixes: https://tracker.ceph.com/issues/59471
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows