]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found:... 60231/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>
Thu, 10 Oct 2024 06:40:29 +0000 (12:10 +0530)
commit02de0226c0fd7328de49f9ce75df8b255aec5efb
treeed980a4452826b5df48477598d82880c29bb5f81
parent8136c93f9669e4ccc73f60d9188b747a15a0eaf1
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>
(cherry picked from commit 8dd9e9dad6a5ad9b427d73c4547286fe46b67d46)
src/pybind/mgr/dashboard/services/rgw_client.py