commit c789d64a8aa36b796b3ad62f7755726082be2906
Author: Clinton Knight <email address hidden>
Date: Wed May 31 13:52:02 2017 -0400
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 <email address hidden>
Change-Id: I4900c7aecc3da6640ea9c0d4d08012ff5b68cc58
Closes-Bug: #1694768
(cherry picked from commit bd47f93007227719e8b9eebbef9767d27025a236)
(cherry picked from commit 038eb7be4fa75fd7b8c2ad2a69f831e7186dbb9f)
Reviewed: https:/ /review. openstack. org/508966 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=c789d64a8aa 36b796b3ad62f77 55726082be2906
Committed: https:/
Submitter: Zuul
Branch: driverfixes/ocata
commit c789d64a8aa36b7 96b3ad62f775572 6082be2906
Author: Clinton Knight <email address hidden>
Date: Wed May 31 13:52:02 2017 -0400
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 location" s rather than the instance IDs.
"provider_
Co-Authored-By: Goutham Pacha Ravi <email address hidden>
Change-Id: I4900c7aecc3da6 640ea9c0d4d0801 2ff5b68cc58 9e8b9eebbef9767 d27025a236) 7b8c2ad2a69f831 e7186dbb9f)
Closes-Bug: #1694768
(cherry picked from commit bd47f9300722771
(cherry picked from commit 038eb7be4fa75fd