Project

General

Profile

Bug #41401

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

Added by Matt Benjamin 27 days ago. Updated 20 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rgw - Backport #41578: mimic: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) In Progress
Copied to rgw - Backport #41579: luminous: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) In Progress

History

#1 Updated by Matt Benjamin 27 days ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 29826

#2 Updated by Casey Bodley 21 days ago

  • Tracker changed from Bug to Backport

#3 Updated by Nathan Cutler 20 days 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 Need 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

#4 Updated by Nathan Cutler 20 days ago

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

#5 Updated by Nathan Cutler 20 days ago

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

#6 Updated by Nathan Cutler 20 days 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.

Also available in: Atom PDF