allow restore of volume from its snapshot

Registered by Dafna Ron

currently we can take a snapshot from a volume which is a read only snapshot and can only be used to create new volumes.
I think that we should allow restore of the original volume from the snapshot.
please see bug 1262656 for further details

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.

Would it be more efficient to use LVM's revert even though it removes the snapshot, then just create a new snapshot with the old snaps name?

It is possible to follow this approach and the snapshot can revert the original volume only in ths case. I think at first we can implement the volume revert with th LVM's revert, so a new possible operation "revert_volume" could be added correspondingly. -----Vincent Hou

There is a similar blueprint registered by ProphetStor recently: https://blueprints.launchpad.net/cinder/+spec/cinder-volume-rollback-snapshot. ProphetStor Team did a demo in Hongkong summit about this feature.

Gerrit topic: https://review.openstack.org/#q,topic:restore,n,z

Addressed by: https://review.openstack.org/251713
    Check snapshots when restoring backup

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.