deb-manila/manila
zhongjun 548975ee2d Huawei: Fix exception in update_access not found
When share is deleted in the backend, user is unable to delete
share because of error thrown in update_access(). Make backend raise
ShareResourceNotFound exception in case share not found during
"update_access" operation, because share manager expects it for
proper handling of share deletion, thus allowing share to be
deleted in this case, without having to use force-delete.

After add ShareResourceNotFound exception, it will need a parameter
named share id(share['id']), so add share id to share info in
create_share_from_snapshot function.

Change-Id: I9756ff882e6960b07f5f0abac94057c687830ad0
Closes-Bug: #1585035
2016-05-26 09:19:09 +08:00
..
api Fix docs for REST API history and Scheduler 2016-05-16 14:32:29 -04:00
cmd Detect addition of executable files 2016-04-08 14:28:42 +00:00
common Fix typos 2016-03-23 15:55:35 +09:00
compute Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Fix Share Migration KeyError on dict.pop 2016-03-10 12:49:14 -03:00
db Merge "Fix context decorator usage in DB API" 2016-05-18 23:29:10 +00:00
hacking Add hacking check to ensure not to use xrange() 2016-03-17 18:02:44 +00:00
network Fix typos 2016-03-23 15:55:35 +09:00
scheduler [Trivial] replace logging with oslo.log 2016-04-26 05:39:51 +08:00
share Huawei: Fix exception in update_access not found 2016-05-26 09:19:09 +08:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Huawei: Fix exception in update_access not found 2016-05-26 09:19:09 +08:00
volume Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Fix context warning spam of scheduler and share logs 2016-05-17 05:35:09 -04:00
exception.py Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
policy.py Fix docstring for policy.enforce method 2016-05-02 08:28:13 -04:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Trivial Fix: fix missing import 2016-01-21 19:36:47 +08:00
test.py Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
utils.py Revert "LXC/LXD driver" 2016-03-16 18:48:17 +04:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Merge "Set TCP keepalive options" 2016-03-11 18:43:44 +00:00