]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found:... 60101/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 3 Oct 2024 08:28:14 +0000 (13:58 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Mon, 7 Oct 2024 12:30:50 +0000 (18:00 +0530)
commit8dd9e9dad6a5ad9b427d73c4547286fe46b67d46
treed49f06b208e71eec4d6d4ac5c9945c3b611f9189
parentbb2a2208867d7bce58b9697570c83d995a1c5976
mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found: None”

A case was missed here where we do have a default realm created but no default_zonegorup, in that case, the existing behavior should prevail and that's not being handled. If a default_realm is created but no default_zonegroup is there, weshould continue getting the keys from daemon_name = next(iter(daemon_keys))

Fixes: https://tracker.ceph.com/issues/68376
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/services/rgw_client.py