]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: show partially deleted RBDs 41891/head
authorTatjana Dehler <tdehler@suse.com>
Thu, 27 May 2021 09:46:50 +0000 (11:46 +0200)
committerTatjana Dehler <tdehler@suse.com>
Wed, 16 Jun 2021 14:45:21 +0000 (16:45 +0200)
commit5eac11a01470449e7f499793c61f9cd9511ac020
treefd95cdfc751918d646fde828146f73f2d2125de5
parentdf93f97559e2015484de427ba59b2a6517f8581f
mgr/dashboard: show partially deleted RBDs

An RBD might be partially deleted if the deletion
process has been started but was interrupted. In
this case return the RBD as part of the RBD list
and mark it as partially deleted.

Fixes: https://tracker.ceph.com/issues/48603
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit d83c277ac1861df31d2a39d16e20c7bebbea676e)

Conflicts:
src/pybind/mgr/dashboard/services/rbd.py
Fixed minor imports conflict.
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.scss
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts
src/pybind/mgr/dashboard/services/rbd.py
src/pybind/mgr/dashboard/tests/test_rbd_service.py