]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/rgw: fix get_realm_tokens returning empty result for realms with a... 70214/head
authorAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Wed, 15 Jul 2026 09:24:27 +0000 (14:54 +0530)
committerAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Tue, 21 Jul 2026 05:03:08 +0000 (10:33 +0530)
commitb6b591dcce7418e907b80d58ff9a6154d10ae76c
treedebad669ddd8cdaea836408cac3e3712f074032a
parent9889bb6e3ead2b1f4b166428b3bef71dc1164fa4
python-common/rgw: fix get_realm_tokens returning empty result for realms with a secondary zone

Issue: The Export Multi-site Realm Token feature in the Dashboard showed no token and no realm details for any realm that had a secondary zone configured (i.e. the realm had been replicated to another cluster). The API endpoint GET /api/rgw/realm/get_realm_tokens returned an empty list or raised a 500 Internal Server Error.

Fixes: https://tracker.ceph.com/issues/78232
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/python-common/ceph/rgw/rgwam_core.py
src/python-common/ceph/tests/test_rgwam_core.py [new file with mode: 0644]