]> 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)
committerPere Diaz Bou <pdiazbou@redhat.com>
Thu, 30 Jun 2022 14:56:37 +0000 (16:56 +0200)
commit6a40c6d3e2b07ae1f84b2d892e65f01ed07d0f41
treeb1844c237030ad4455e802435a2372f5492abaf5
parenta63357509d600cc5ec9b60a75b634ecf34ae0f5d
mgr/dashboard: configure rbd mirroring

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
src/pybind/mgr/dashboard/tests/test_rbd_mirroring.py

error component and module-status-guard.service.ts had one minor
conflict which was resolved by getting incoming changes (add missing
logic).
test_rbd_mirroring had an import conflict which was resolved by
accepting incoming changes which had the same imports with new ones.
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