]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Multi-site replication wizard breaks when a default realm is already... 61534/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Mon, 27 Jan 2025 06:14:08 +0000 (11:44 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 30 Jan 2025 09:32:15 +0000 (15:02 +0530)
commitc96f8a77e9913a916f9cc1e9d8245990c6515402
tree4eb1b91133571b71622bd215b6628bbdbba71f06
parent54b406763f8c6e6f2d447048689cf95f37ae4999
mgr/dashboard: Multi-site replication wizard breaks when a default realm is already present in the secondary cluster.

When a default realm is already present in a secondary cluster, the multi-site automation wizard breaks and shows the progress as 0% again. This happens because the last step of the wizard is to confirm the presence of replication user created as a part of the wizard to be present in the secondary cluster and then do the further processing. We fetch the user list from the secondary cluster using get_user_list method which takes the zoneName as input param. In case there is a default realm in the secondary cluster, we need this method to take the realm name as input param as well.

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