Red Hat Bugzilla – Bug 983139
[RFE] cinder: allow restore of volume from its snapshot
Last modified: 2016-04-26 15:37:53 EDT
Description of problem:
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.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a volume
2. create a snapshot
there is no option for restore of original volume from the snapshot
we should be able to restore the original volume
The supported method to do this is to call "cinder create --snapshot-id <id> <size>" which will generate a new volume from the snapshot. Restores are not done to the original volume. (i.e. there is no "revert to snapshot" operation)
(In reply to Eric Harney from comment #1)
> The supported method to do this is to call "cinder create --snapshot-id <id>
> <size>" which will generate a new volume from the snapshot. Restores are
> not done to the original volume. (i.e. there is no "revert to snapshot"
yes, I know that this is how it works right now.
I think that its a bug that we cannot restore from the snapshot.
we can move to RFE if you think that this needs a large implementation or design change
My primary concern around this is that I'm not sure it's possible for all Cinder drivers, as different drivers have different concepts of the relationship between a volume and a snapshot and how they are related on the storage backend. As such, upstream would likely reject this based on it breaking consistency for behavior of operations across different configurations.
Eric, I'm moving requires_doc_text to - since nothing was done. Unless you you want to set it as a Known Issue with text? (Release notes are regenerated with each maintenance release if you want to include info.)