forked from openstack/manila
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollback quota when share network create API fails.
During share network create API, if failure occurs quota is not rolled back and its usable only after quota reservations timed out (waiting conf.reservation_expire seconds). Closes-bug: #1975483 Change-Id: I3de8f5bfa6ac4580da9b1012caa25657a6df71ec (cherry picked from commit 8c854a1)
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...otes/notes/bug-1975483-rollback-quota-if-share-network-create-fails-628312233bf0c179.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
During share network create API, if either share network or share network | ||
subnet db creation fails, manila raises an exception. However quota is not | ||
rolled back and its usable only after quota reservations timed out (waiting | ||
conf.reservation_expire seconds). Fixed by introducing immediate quota | ||
rollback in case any db create api fails. |