manila/manila/api
Dina Saparbaeva 90241eb43f fixes availability zone filter when creating a share from snapshot
Fixes bug #1915706 that was discovered in  Manila UI.
Issue is invalid input error being raised, even when
availability_zone provided is the same, as parent share's.
The reason is availability_zone is name and source_share_az
is id in the filter [1]. Now, regardless of availability_zone
provided is id or name, it will be always converted to a name.
And if availability_zone is the same as parent share's
operation will complete successfully.

[1] 2e27c71877/manila/share/api.py (L200)

Closes-Bug: #1915706
Change-Id: I5039b7adf563d926053b423a4cc6e175d3f1e5cf
(cherry picked from commit 205f3d828d)
(cherry picked from commit 9c723d0e44)
2021-07-06 04:39:02 +00:00
..
contrib Port share type extensions to core API 2015-11-12 14:58:20 +00:00
middleware Fix UnicodeDecodeError when decode API input 2018-02-07 06:37:32 +00:00
openstack Set Victoria max version in the api doc 2020-10-09 18:43:40 +00:00
v1 fixes availability zone filter when creating a share from snapshot 2021-07-06 04:39:02 +00:00
v2 Add share server migration 2020-09-10 08:52:08 -03:00
views Add share server migration 2020-09-10 08:52:08 -03:00
__init__.py Remove enable_v1_api and enable_v2_api config opts 2016-08-23 08:27:22 +02:00
auth.py Remove log translations in api 1/5 2017-03-29 16:55:05 +08:00
common.py Merge "Support query user message by timestamp" 2020-04-03 18:11:35 +00:00
extensions.py If only .pyc exist, the extension API will be disabled 2020-03-27 17:10:33 +08:00
urlmap.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
versions.py [goal] Migrate tox based testing to ubuntu focal 2020-09-09 13:19:39 -05:00