diff options
author | gengjh <gengjh@cn.ibm.com> | 2013-04-01 22:11:50 +0800 |
---|---|---|
committer | gengjh <gengjh@cn.ibm.com> | 2013-06-13 15:36:08 +0800 |
commit | d5bbfad3d06e8801d70f4efce84c9504519efbc3 (patch) | |
tree | f06bbf29dea8206525bd388f0d05c36fb7916d3d /nova/utils.py | |
parent | e0142d0f63bf64a07db3bd3b840fc2072d2e6ca3 (diff) | |
download | nova-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