]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/zone: remove duplicated startup logic in RGWSI_Zone 66300/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 13 May 2025 13:42:32 +0000 (09:42 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 18 Nov 2025 00:34:28 +0000 (19:34 -0500)
commit203aa43fa0937f5d9abbff53b811be996208c115
tree8d7476a9ef54cd1283a1f64754cf8953fd68a61d
parentc744cece321a37627af798518209ca4cb6d4d154
rgw/zone: remove duplicated startup logic in RGWSI_Zone

SiteConfig had already loaded the correct configuration without all of
the crazy search_realm_with_zone() stuff which is now confused by
defaults. remove all of this duplicated logic and rely on SiteConfig

removes functions search_realm_with_zone() create_default_zg() and
init_default_zone() which are no longer used

Fixes: https://tracker.ceph.com/issues/71291
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 17805489404760c8fa45caa71786058a3984ed0d)
resolves rhbz#2412273

Resolved Conflicts:
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h

(cherry picked from commit bfa27a23d76f74c692e703426547a0f875cc2a57)
src/rgw/driver/rados/rgw_service.cc
src/rgw/driver/rados/rgw_service.h
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h