Shares with transitional states like 'creating' or 'deleting' should not be
allowed to be unmanaged.
For the moment "manage/unmanage" operation is allowed only for driver mode
without handling of share servers. So, API operations against shares created
on top of share servers should be restricted on API level.
Reviewed: https:/ /review. openstack. org/166348 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=a0703047d52 b700ef8917996dd 45ca3fb16e5f5d
Committed: https:/
Submitter: Jenkins
Branch: master
commit a0703047d52b700 ef8917996dd45ca 3fb16e5f5d
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Mar 20 20:58:17 2015 +0200
Add share state verification for API 'unmanage'
Shares with transitional states like 'creating' or 'deleting' should not be
allowed to be unmanaged.
For the moment "manage/unmanage" operation is allowed only for driver mode
without handling of share servers. So, API operations against shares created
on top of share servers should be restricted on API level.
Change-Id: I73b554448eadcb 96ef00f44535014 e14dea91472
Closes-Bug: #1434642
Closes-Bug: #1434511