manila/releasenotes/notes/fix-huawei-exception-a09b73234ksd94kd.yaml
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

4 lines
74 B
YAML

---
fixes:
- Fix exception in update_access not found in Huawei driver.