manila/releasenotes/notes/bug-1694768-fix-netapp-cdot-revert-to-snapshot-5e1be65260454988.yaml
Clinton Knight 038eb7be4f NetApp ONTAP: Fix revert-to-snapshot
In course of normal operation, the backend snapshot
name is associated with the the ID of the snapshot instance
in manila.

However, when a share is replicated or is being migrated,
the backend snapshot is not renamed. Instead, we simply
store the original name in the "provider_location" field of
the snapshot model.

Fix revert-to-snapshot methods to identify snapshots by
"provider_location"s rather than the instance IDs.

Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>

Change-Id: I4900c7aecc3da6640ea9c0d4d08012ff5b68cc58
Closes-Bug: #1694768
(cherry picked from commit bd47f93007)
2017-08-25 20:27:04 +00:00

5 lines
107 B
YAML

---
fixes:
- Fixed the NetApp ONTAP driver to handle reverting to replicated
and migrated snapshots.