Project

General

Profile

Bug #41401

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

Added by Matt Benjamin 8 months ago. Updated 6 months 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:

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) Resolved
Copied to rgw - Backport #41579: luminous: rgw: api_name fixes from Nautilus (e.g., allows CreateBucket w/alternate placement) Resolved

History

#1 Updated by Matt Benjamin 8 months ago

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

#2 Updated by Casey Bodley 7 months ago

  • Tracker changed from Bug to Backport

#3 Updated by Nathan Cutler 7 months 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

#4 Updated by Nathan Cutler 7 months 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 7 months 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 7 months 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.

#7 Updated by Nathan Cutler 6 months 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".

Also available in: Atom PDF