Project

General

Profile

Actions

Bug #46810

closed

rgw: create bucket via swift return 403

Added by lei cao over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
swift multisite
Backport:
nautilus octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When i tried to create a swift bucket which name contains symbols, such as "?", it's allowed to swift bucket name constraints. But it return "403 Signature doesn't match" in slave zonegroup while return "201 Created" in master zonegroup.
Then, i find forward request process in slave zonegroup does not URL encode the bucket name. Obviously, this is unreasonable, i modified this part of code.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #47412: octopus: rgw: create bucket via swift return 403 ResolvedNathan CutlerActions
Copied to rgw - Backport #47413: nautilus: rgw: create bucket via swift return 403 ResolvedWei-Chung ChengActions
Actions #1

Updated by Casey Bodley over 3 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Casey Bodley over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Tags changed from rgw swift to swift multisite
  • Backport set to nautilus octopus
Actions #3

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47412: octopus: rgw: create bucket via swift return 403 added
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47413: nautilus: rgw: create bucket via swift return 403 added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF