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: s3website error handler uses original object name #20693

Merged
merged 1 commit into from Mar 7, 2018

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Mar 2, 2018

the s3website error handler needs to use the same object name for redirect handling that retarget() does, but s->object.name may be modified based on get_effective_key()

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

the s3website error handler needs to use the same object name for
redirect handling that retarget() does, but s->object.name may be
modified based on get_effective_key()

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@robbat2
Copy link
Contributor

robbat2 commented Mar 2, 2018

Looks correct visually, I just need to refresh my memory on how AWS-S3 handles chains of redirections.

Copy link
Contributor

@robbat2 robbat2 left a comment

Choose a reason for hiding this comment

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

Looks correct visually, I just need to refresh my memory on how AWS-S3 handles chains of redirections.

@cbodley
Copy link
Contributor Author

cbodley commented Mar 5, 2018

tested successfully against #20570:
http://pulpito.ceph.com/cbodley-2018-03-05_16:34:44-rgw-wip-cbodley-testing-distro-basic-smithi/

(unrelated failures from ragweed, multisite tests)

@cbodley
Copy link
Contributor Author

cbodley commented Mar 7, 2018

@cbodley cbodley merged commit cf52fc5 into ceph:master Mar 7, 2018
@cbodley cbodley deleted the wip-rgw-s3website-redirect branch March 8, 2018 19:20
@smithfarm
Copy link
Contributor

jewel backport - http://tracker.ceph.com/issues/23311 - looks non-trivial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants