]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix issue for CreateBucket with BucketLocation param under default zonegroup
authorEnming Zhang <enming.zhang@umcloud.com>
Wed, 30 May 2018 02:54:42 +0000 (10:54 +0800)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 22 Aug 2019 20:31:18 +0000 (16:31 -0400)
commit68cebe96b3db3dfc6f93c2372d82017f7b14c603
tree5fa18c1dbaef0430b1370d700b2828ef86c31690
parent7874a2b3047114dc69f382a727f5fe0ce93997c1
rgw: fix issue for CreateBucket with BucketLocation param under default zonegroup

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 with BucketLocation parameter request failed.

Fixes: https://tracker.ceph.com/issues/41401
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
(cherry picked from commit 18115915fa861a4b32e8d442266e90e9589215f7)
src/rgw/rgw_rados.h