]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix rbd mirror snapshot creation
authorAashish Sharma <aasharma@redhat.com>
Wed, 21 Dec 2022 11:53:37 +0000 (17:23 +0530)
committerAashish Sharma <aasharma@redhat.com>
Wed, 12 Apr 2023 06:20:40 +0000 (11:50 +0530)
commit5ea4171ae3d2a28efbe20b825602eff1429ef92d
tree3107c62c09fc38a05ab3ee8d98becf253426a484
parent5168ccce492a915ef3317aa4f2028420c6f3f045
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>
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