]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix the rbd mirroring configure check 51323/head
authorNizamudeen A <nia@redhat.com>
Thu, 27 Apr 2023 11:24:24 +0000 (16:54 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 3 May 2023 05:59:28 +0000 (11:29 +0530)
commitd5ca89f1364ee9720ace6cf613eb3b8b1b09c0c7
treecb72ef9b24cc998f6b4a3e74435b8833ff13f002
parente90170c74c0f4fcfb4f61c4c278387aa3f283378
mgr/dashboard: fix the rbd mirroring configure check

In one-way mirroring, the condition we are checking now for configuring
the mirroring will fail because only one cluster needs to have the
mirror daemon present. Thus even if mirroring is successfuly happening
the page won't load. For now relaxing the rule until we find a better
api call to check for the status

Fixes: https://tracker.ceph.com/issues/59573
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 09de6be991c4240065bf5774e798b3d274443cff)
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py