manila/releasenotes/notes/bug-1975483-rollback-quota-if-share-network-create-fails-628312233bf0c179.yaml
Kiran Pawar 8c854a1c68 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
2022-05-29 09:06:34 +00:00

9 lines
375 B
YAML

---
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.