]> 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)
committerCasey Bodley <cbodley@redhat.com>
Mon, 26 Aug 2024 13:35:48 +0000 (09:35 -0400)
commit902cc0a71e91faf6d6e3685c036d346251e4f77f
tree7cfd64d1df48ac5944b85b81dcb5b519a2cbb712
parente946c4f5cfd6f356dbc18c5c42d8d639cb49270d
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>
src/rgw/driver/rados/rgw_zone.cc