summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorgengjh <gengjh@cn.ibm.com>2013-04-01 22:11:50 +0800
committergengjh <gengjh@cn.ibm.com>2013-06-13 15:36:08 +0800
commitd5bbfad3d06e8801d70f4efce84c9504519efbc3 (patch)
treef06bbf29dea8206525bd388f0d05c36fb7916d3d /nova/utils.py
parente0142d0f63bf64a07db3bd3b840fc2072d2e6ca3 (diff)
downloadnova-d5bbfad3d06e8801d70f4efce84c9504519efbc3.tar.gz
nova-d5bbfad3d06e8801d70f4efce84c9504519efbc3.tar.xz
nova-d5bbfad3d06e8801d70f4efce84c9504519efbc3.zip
Enhance the validation of the quotas update
Need check whether the already used and reserved exceeds the new quota before update it. DocImpact Implements a validation to validate whether already used and reserved quota exceeds the new quota when run 'nova quota-update', it will throw error if the quota exceeds. This check will be ignored if admin want to force update when run 'nova quota-update' with additional option '--force'. This validation help admin to be aware of whether the quotas are oversold when they try to update quota and also provide an option '--force' to allow admin force update the quotas. Fix bug 1160749 Change-Id: Iba3cee0f0d92cf2e6d64bc83830b0091992d1ee9
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions