]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerCasey Bodley <cbodley@redhat.com>
Mon, 26 Aug 2024 21:59:37 +0000 (17:59 -0400)
commit358a197370b8ce527e28800246003d3e6c00027d
tree38e7995f3f6152b96b449a093bc7fba608a21bf2
parente352264128ed15dbf89338859d68cc4697870663
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)
src/rgw/driver/rados/rgw_zone.cc