manila/manila
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
..
api Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
cmd Add user messages periodic cleanup task 2017-07-17 07:53:19 +02:00
common Add like filter 2017-07-10 14:55:41 +08:00
compute Fix inappropriate parameters 2017-07-13 10:04:04 +08:00
data Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
db Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
hacking Hacking: do not translate log messages 2017-04-09 11:07:09 -04:00
message Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
network Enable IPv6 in manila(network plugins and drivers) 2017-07-27 18:28:15 +08:00
scheduler Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
share NetApp ONTAP: Fix revert-to-snapshot 2017-08-25 20:27:04 +00:00
share_group Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests NetApp ONTAP: Fix revert-to-snapshot 2017-08-25 20:27:04 +00:00
volume Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
wsgi Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Remove warnings for dropped context arguments 2016-10-26 22:52:36 +02:00
coordination.py Fix deprecated options version 2017-07-19 08:12:55 -04:00
exception.py Add exception for no default share type configured 2017-08-02 15:27:53 -04:00
i18n.py Update the documentation link for doc migration 2017-07-14 07:27:16 +00:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py User Messages 2017-07-13 13:05:57 +02:00
policy.py Fix some typos 2017-02-19 22:44:27 -08:00
quota.py Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
test.py Disable notifications 2017-07-17 12:45:11 -03:00
utils.py Enable IPv6 in manila(network plugins and drivers) 2017-07-27 18:28:15 +08:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00