From: Nizamudeen A Date: Fri, 19 May 2023 11:18:14 +0000 (+0530) Subject: mgr/dashboard: fix create snapshot is disabled for rbd images X-Git-Tag: v17.2.7~346^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f09b9d98c4c32ef6871839c1c28a05495c0f1c95;p=ceph.git mgr/dashboard: fix create snapshot is disabled for rbd images also the rename and rollback option in the snapshot list is enabled even if there isn't anything in the list also disabled the Mirror Image Snapshot option in the Create RBD Snapshot form (only shown for images configured with Snapshot mirroring) with the helpe Fixes: https://tracker.ceph.com/issues/61296 Signed-off-by: Nizamudeen A (cherry picked from commit 896ae75901b564677ea1611a89f4d61da881a6e1) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html index fb246a44451b..e84ecab695a6 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html @@ -24,13 +24,14 @@ autofocus> This field is required.

+ i18n>This field is required. Snapshot mode is enabled on image {{ imageName }}: snapshot names are auto generated -
-
+ +
+ The peer must be registered to do this action.
-
+