]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: configure rbd mirroring
authorNizamudeen A <nia@redhat.com>
Mon, 6 Jun 2022 05:51:29 +0000 (11:21 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 16 Aug 2022 07:31:43 +0000 (13:01 +0530)
commitf2cdb2ef14d2046b7469a20ee427952a82bf0415
tree017c5c421a9af710c271e37c06ced5ad3e364d7e
parent61e4300674b735585d79affdac39e94d32ec8592
mgr/dashboard: configure rbd mirroring

Resolves: rhbz#1891012

One-click button in the case of an orch cluster for configuring the
rbd-mirroring when its not properly setup. This button will create an
rbd-mirror service and also an rbd labelled pool(replicated: size-3) (if they are not
existing)

Fixes: https://tracker.ceph.com/issues/55646
Signed-off-by: Nizamudeen A <nia@redhat.com>
 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.ts

This commits had minor conflicts where the addition of dashboardButton
had to be explicitly added and the state of api/orch/status in
module-status-guard had to be updated.

(cherry picked from commit e918150212074a757c95f05ecb9d528ff1fe6e06)
src/pybind/mgr/dashboard/controllers/pool.py
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/block.module.ts
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.ts
src/pybind/mgr/dashboard/tests/test_rbd_mirroring.py