[cinder] revert volume to snapshot

Gorka Eguileor geguileo at redhat.com
Wed Jun 16 08:22:11 UTC 2021


On 15/06, Boxiang Zhu wrote:
>
>
> Hi,
>
>
> There is a restful api[1] to revert volume to snapshot. But the description means
> we can only use this api to revert volume to its latest snapshot.
>
>
> Are some drivers limited to rolling back only to the latest snapshot? Or just nobody
> helps to improve the api to revert volume to any snapshots of the volume?
>
>
>
>
> [1] https://docs.openstack.org/api-ref/block-storage/v3/index.html?expanded=revert-volume-to-snapshot-detail#revert-volume-to-snapshot
>
>
>
>
> Thanks,
> Boxiang

Hi,

There's a spec proposal [1] under review to improve the revert to
snapshot so it can work with all drivers regardless of their
limitations.

The spec was briefly discussed during the Xena PTG [2].

Cheers,
Gorka.


[1]: https://review.opendev.org/c/openstack/cinder-specs/+/736111
[2]: https://wiki.openstack.org/wiki/CinderXenaPTGSummary#Support_revert_any_snapshot_to_the_volume




More information about the openstack-discuss mailing list