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.
Reviewed: https:/ /review. openstack. org/25887 github. com/openstack/ nova/commit/ d5bbfad3d06e880 1d70f4efce84c95 04519efbc3
Committed: http://
Submitter: Jenkins
Branch: master
commit d5bbfad3d06e880 1d70f4efce84c95 04519efbc3
Author: gengjh <email address hidden>
Date: Mon Apr 1 22:11:50 2013 +0800
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: Iba3cee0f0d92cf 2e6d64bc83830b0 091992d1ee9