1. List the keystone tenants and search for the required tenant
keystone tenant-list |grep <tenantname>
Note the id of the tenant being displayed. You need to use this id in the next command
2. Get quota details of the tenant using the following command
nova-manage project quota <tenantid>
You will be getting output similar to this
Quota Limit In Use Reserved
metadata_items 128 0 0
injected_file_content_bytes 10240 0 0
ram 51200 0 0
floating_ips 10 0 0
security_group_rules 20 0 0
instances 10 0 0
key_pairs 100 0 0
injected_files 5 0 0
cores 20 0 0
fixed_ips unlimited 0 0
injected_file_path_bytes 255 0 0
security_groups 10 0 0
3. Update value of the key, depending on which item you want to update. For eg, if you want to increase the number of instances from 10 to 20, give the following command
nova-manage project quota <tenantid> --key instances --value 20
4.Now run the "nova-manage quota <tenantid> " command to see if the quota is updated
keystone tenant-list |grep <tenantname>
Note the id of the tenant being displayed. You need to use this id in the next command
2. Get quota details of the tenant using the following command
nova-manage project quota <tenantid>
You will be getting output similar to this
Quota Limit In Use Reserved
metadata_items 128 0 0
injected_file_content_bytes 10240 0 0
ram 51200 0 0
floating_ips 10 0 0
security_group_rules 20 0 0
instances 10 0 0
key_pairs 100 0 0
injected_files 5 0 0
cores 20 0 0
fixed_ips unlimited 0 0
injected_file_path_bytes 255 0 0
security_groups 10 0 0
3. Update value of the key, depending on which item you want to update. For eg, if you want to increase the number of instances from 10 to 20, give the following command
nova-manage project quota <tenantid> --key instances --value 20
4.Now run the "nova-manage quota <tenantid> " command to see if the quota is updated
Really awesome content, It helps me a lot and i find it using my mobile phone
ReplyDeletereally happy to get it