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

Also available in: Atom PDF