mgr/dashboard: Cloning modal opens although snapshot isn't protected
Steps to reproduce:
1. Goto Block -> Images
2. Create an RBD image if there isn't one yet
3. Create a snapshot of that RBD image
4. Select the snapshot of the RBD image and click "Clone"
The Cloning modal will appear but you won't be able to submit the form as the snapshot isn't protected.
Disable the menu entry "Clone" if the selected snapshot is not selected.
#1 Updated by Patrick Seidensal about 5 years ago
- Assignee deleted (
Note: There might be something in the works already that enables clones to be created from unprotected snapshots. Before implementing this issue, it might be worth finding out if it has already been implemented. In that case this issue can simply be closed.
#2 Updated by Jason Dillaman about 5 years ago
For mimic and later, if the "rbd_default_clone_format" configuration setting is set to 1 or if it's set to "auto" and the minimum compatible client is not set to mimic or later -- snapshots would need to be protected since it will use clone format v1. Otherwise, if "rbd_default_clone_format" is set to 2 or if it's set to "auto" and the min compat client is mimic or later, it will use clone format v2 and protecting snapshots is not required.