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

jewel: rgw: fix printing wrong X-Storage-Url in Swift's TempAuth. #9021

Merged
merged 1 commit into from May 10, 2016

Conversation

yehudasa
Copy link
Member

@yehudasa yehudasa commented May 9, 2016

If the option "rgw_swift_account_in_url" is being set to true,
both user and subuser IDs will be present in the X-Storage-Url
header generated by the implementation of Swift API's TempAuth.
This patch rectifies this behavior and makes that only the user
identifier will be placed there.

Fixes: http://tracker.ceph.com/issues/15667
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 88f4c67)
@yehudasa yehudasa self-assigned this May 9, 2016
@yehudasa yehudasa added this to the jewel milestone May 9, 2016
@ghost ghost assigned ghost and unassigned yehudasa May 10, 2016
@ghost ghost changed the title rgw: fix printing wrong X-Storage-Url in Swift's TempAuth. jewel: rgw: fix printing wrong X-Storage-Url in Swift's TempAuth. May 10, 2016
ghost pushed a commit that referenced this pull request May 10, 2016
…l in Swift's TempAuth.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request May 10, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented May 10, 2016

test this please

@ghost
Copy link

ghost commented May 10, 2016

@ghost ghost assigned yehudasa and unassigned ghost May 10, 2016
@yehudasa yehudasa merged commit 80beeff into ceph:jewel May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants