commit b1d73fdb8682db16029f0e28620c0590f04bc6f5
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)
(cherry picked from commit c789d64a8aa36b796b3ad62f7755726082be2906)
Reviewed: https:/ /review. openstack. org/499416 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=b1d73fdb868 2db16029f0e2862 0c0590f04bc6f5
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit b1d73fdb8682db1 6029f0e28620c05 90f04bc6f5
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) 96b3ad62f775572 6082be2906)
Closes-Bug: #1694768
(cherry picked from commit bd47f9300722771
(cherry picked from commit 038eb7be4fa75fd
(cherry picked from commit c789d64a8aa36b7