Feature #4008

option to unprotect the delete action on disk snapshots

Added by Anton Todorov almost 6 years ago. Updated about 4 years ago.

Status:ClosedStart date:09/29/2015
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Drivers - Storage
Target version:Release 5.4
Resolution:duplicate Pull request:

Description

At the moment there are checks that are blocking snapshot delete:
  • 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

Related to Backlog #4397: Extend list of supported actions for VMM/TM/DS drivers New 04/08/2016
Duplicated by Feature #4885: Ceph Snapshots cannot be deleted Closed 10/29/2016

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

Also available in: Atom PDF