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

rgw: put object's acl can't work well on the latest object #13078

Merged
merged 1 commit into from Mar 8, 2017

Conversation

zhangsw
Copy link
Contributor

@zhangsw zhangsw commented Jan 24, 2017

When bucket versioning is enabled, put latest object's acl can't work if we don't set parameter "versionId". But in S3, if we don't set "versionId", latest object's acl should be modified.

Fixes: http://tracker.ceph.com/issues/18649

Signed-off-by: Zhang Shaowen zhangshaowen@cmss.chinamobile.com

…oning

is enabled.

Reported-by: Liu Hong <liuhong@cmss.chinamobile.com>

Fixes: http://tracker.ceph.com/issues/18649

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
@mattbenjamin
Copy link
Contributor

@zhangsw is it possible you could provide an s3-test for this case?

@zhangsw
Copy link
Contributor Author

zhangsw commented Feb 6, 2017

@mattbenjamin ok, I'll do it.

@zhangsw
Copy link
Contributor Author

zhangsw commented Feb 14, 2017

@mattbenjamin I have added a test case ceph/s3-tests#152

@cbodley
Copy link
Contributor

cbodley commented Feb 16, 2017

teuthology run was clean (only failures were selinux related)

jenkins test this please

Copy link
Contributor

@cbodley cbodley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the test!

@cbodley cbodley merged commit 5967b9b into ceph:master Mar 8, 2017
@zhangsw zhangsw deleted the fix-rgw-setacl-bug branch March 9, 2017 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants