]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: ignore zoneless default realm when not configured
authorCasey Bodley <cbodley@redhat.com>
Fri, 23 Aug 2024 19:03:31 +0000 (15:03 -0400)
committerYuri Weinstein <yweinste@redhat.com>
Tue, 27 Aug 2024 18:00:25 +0000 (18:00 +0000)
commit73e7304fb6e8b3a0a3df3d9383d29f9616509251
tree754ca7872f730c9194a77a3e788394eb9c5f460b
parentd402d3b8619a09a91a8d159f79cf1e29adf514b6
rgw: ignore zoneless default realm when not configured

"default" zone/zonegroup deployments without a realm can be broken by
the creation of an unrelated realm, because that realm is (was)
automatically set as the default

when startup detects an incomplete default realm (one that doesn't have
a default zone), fall back to the realmless "default" zone/zonegroup
instead

Fixes: https://tracker.ceph.com/issues/67697
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 902cc0a71e91faf6d6e3685c036d346251e4f77f)
(cherry picked from commit 358a197370b8ce527e28800246003d3e6c00027d)
src/rgw/driver/rados/rgw_zone.cc