Feature #4008
option to unprotect the delete action on disk snapshots
Status: | Closed | Start date: | 09/29/2015 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Drivers - Storage | |||
Target version: | Release 5.4 | |||
Resolution: | duplicate | Pull request: |
Description
- the snapshot have children
- the snapshot is "active"
- others?
The checks/protections for snapshot delete action should be conditional(per datastore?) as there are storage backends that have no issues to delete any of the snapshots in the chain. There is no need to notify the vmm too - only call TM driver to delete the given snapshot.
For example, if the user wants to create a backup. In this case the work-flow will be take snapshot, back it up, delete the snapshot.
Another example is to create snapshot before VM update/upgrade and delete the snapshot if everything is ok.
Kind Regards,
Anton Todorov
Related issues
History
#1 Updated by Guillaume Oberlé about 5 years ago
+1 !
The use case we have in mind : take disk snapshots every day and remove disk snapshots that are X days old. This allows to go back in time quickly if something went wrong during the life cycle of the VM.
#2 Updated by Ruben S. Montero about 5 years ago
- Related to Backlog #4397: Extend list of supported actions for VMM/TM/DS drivers added
#3 Updated by Ruben S. Montero about 5 years ago
- Tracker changed from Request to Backlog
- Priority changed from Normal to High
#4 Updated by Bernhard J. M. Grün over 4 years ago
+1 for this from my side too.
I am using Ceph at the moment - but I plan to test drive other datastores too in the near future.
Guillaume, your idea already seems to be possible with the patch found in feature request #4885. This feature request also seems to be linked to this one.
#5 Updated by Ruben S. Montero about 4 years ago
- Tracker changed from Backlog to Feature
- Category set to Drivers - Storage
- Status changed from Pending to Closed
- Target version set to Release 5.4
- Resolution set to duplicate
As there is some more activity in 4885, I'm closing this one as duplicate. As suggested here this is a TM_MAD_CONF attributed inherited by the Datastore using the TM driver.
#6 Updated by Ruben S. Montero about 4 years ago
- Duplicated by Feature #4885: Ceph Snapshots cannot be deleted added