Project

General

Profile

Actions

Bug #41401

closed

rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement)

Added by Matt Benjamin over 4 years ago. Updated over 4 years ago.

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

0%

Source:
Tags:
Backport:
mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The words, the words of the developer:
"""
When we want to specify the bucket's placement rule during CreateBucket, we should fill the "BucketLocation" parameter with {API_NAME:PLACEMENT_RULE}.

Currently, there are two issues in default zonegroup which impact the processing of CreateBucket with BucketLocation parameter.

The api_name in default zonegroup is empty ("")
Because there is not a default realm, the has_zonegroup_api always returns false
when create bucket with the BucketLocation parameter under default zonegroup,
which always leads to the CreateBucket request failed.

This PR fixes the above two issues.
"""


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #41578: mimic: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement)ResolvedNathan CutlerActions
Copied to rgw - Backport #41579: luminous: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement)ResolvedMatt BenjaminActions
Actions #1

Updated by Matt Benjamin over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 29826
Actions #2

Updated by Casey Bodley over 4 years ago

  • Tracker changed from Bug to Backport
Actions #3

Updated by Nathan Cutler over 4 years ago

  • Tracker changed from Backport to Bug
  • Subject changed from luminous: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) to rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement)
  • Status changed from Fix Under Review to Pending Backport
  • % Done set to 0
  • Backport set to mimic, luminous
  • Regression set to No
  • Severity set to 3 - minor
  • Pull request ID set to 22312
Actions #4

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41578: mimic: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) added
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41579: luminous: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) added
Actions #6

Updated by Nathan Cutler over 4 years ago

Found the master PR. It's https://github.com/ceph/ceph/pull/22312 - the fix went in before the nautilus 14.2.0 release.

Populated the "Pull request ID" and "Backport" fields accordingly, and cross-lined Matt's luminous backport PR with the backport tracker issue.

Actions #7

Updated by Nathan Cutler over 4 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