]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix rbd mirror snapshot creation 51075/head
authorAashish Sharma <aasharma@redhat.com>
Wed, 21 Dec 2022 11:53:37 +0000 (17:23 +0530)
committerAashish Sharma <aasharma@redhat.com>
Fri, 14 Apr 2023 07:08:02 +0000 (12:38 +0530)
commita3f7cf80d69244d6767e6de17c22238735372f30
treec714b089f04ee5ba343db3d9e7ceb86ad1c1bdce
parenta4b15d0a43f8f8b6367765aa709a42b38fd67d09
mgr/dashboard: fix rbd mirror snapshot creation

There are two types of snapshots that can be created on a snapshot based mirroring image - Normal Snapshot(same as journal based snapshot) and Nirror Image Snapshot. Till now Dashboard allowed only Mirror image snapshot, this PR intends to enable both the types

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 5ea4171ae3d2a28efbe20b825602eff1429ef92d)
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-form/rbd-snapshot-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.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