d5bbfad3d0
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
17 lines
389 B
JSON
17 lines
389 B
JSON
{
|
|
"quota_set": {
|
|
"cores": 20,
|
|
"fixed_ips": -1,
|
|
"floating_ips": 10,
|
|
"injected_file_content_bytes": 10240,
|
|
"injected_file_path_bytes": 255,
|
|
"injected_files": 5,
|
|
"instances": 45,
|
|
"key_pairs": 100,
|
|
"metadata_items": 128,
|
|
"ram": 51200,
|
|
"security_group_rules": 20,
|
|
"security_groups": 10
|
|
}
|
|
}
|