OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.21k stars 477 forks source link

Support snapshots for system disks #2245

Open infernix opened 6 years ago

infernix commented 6 years ago

Enhancement Request

Description

Allow snapshots of volatile disks in system datastores

Use case

All our VMs OS disks are instantiated as snapshots from an image. We do this so that at termination there is no cleanup needed of any images. When we add additional disks (e.g. empty FS disks), we also add those as volatile.

The problem arises where we are able to create snapshots from the OS disk (which is a snapshotted image) just fine, but not of any volatile data disks that live in the system datastore.

The system datastore itself is the same backend as the image datastore, so it supports all the same features (e.g. Ceph)

Interface Changes

- Support snapshots of volatile (system DS) disks in core - Support listing and identification of system disks in general (needed in order to snapshot any specific system disk) - Expose system disk list in system DS view in Sunstone - Expose disk snapshot feature for volatile disks in VM view

Progress Status

infernix commented 6 years ago

Some past discussions: https://forum.opennebula.org/t/snapshots-from-volatile-disks/936 https://forum.opennebula.org/t/cannot-create-snapshots/1541