]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Disable RBD clone action when conditions are not met 37416/head
authorTiago Melo <tmelo@suse.com>
Wed, 7 Oct 2020 23:01:28 +0000 (23:01 +0000)
committerTiago Melo <tmelo@suse.com>
Thu, 8 Oct 2020 16:45:00 +0000 (16:45 +0000)
commited237aa2030d1c05664337f36bb032172a4d5d1c
tree9be272c04c4035bf780829c0cdf02760c679f581
parent98a8f533b83a282e1768fcaf2e0b44fc88cbe86d
mgr/dashboard: Disable RBD clone action when conditions are not met

Disable clone action when RBD snapshot is not protected
and clone format version is 1.

Fixes: https://tracker.ceph.com/issues/37873
Signed-off-by: Tiago Melo <tmelo@suse.com>
qa/tasks/mgr/dashboard/test_rbd.py
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-actions.model.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rbd.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rbd.service.ts
src/pybind/mgr/dashboard/openapi.yaml