]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Include allocated quota value in the quota reserve
authorRaildo Mascena <raildo@lsd.ufcg.edu.br>
Wed, 28 Oct 2015 20:50:44 +0000 (17:50 -0300)
committerRaildo Mascena <raildom@gmail.com>
Tue, 9 Feb 2016 17:08:10 +0000 (17:08 +0000)
commit5e5c66be483029c6b5861d8c268f1df345850a0d
treec79744b56fdd2b2ae29c607ca8c281912c4045ee
parent898a63be9ffe7b058e5078c842ed15a9a4619d65
Include allocated quota value in the quota reserve

When we do a quota_reserve in a project, the allocated quota for their
subprojects was not considered in the over quota calculation

Co-Authored-By: Paulo Ewerton <pauloewerton@lsd.ufcg.edu.br>
Change-Id: Ia72e13a40e00c4ec0e986b80a7c9a322f3df659d
Closes-Bug: #1505801
cinder/db/sqlalchemy/api.py
cinder/tests/unit/test_quota.py