OpenStack Technical Articles

Manage Compute Service Quotas In Openstack

Manage Compute Service Quotas In Openstack

Compute Quota service you can check the specified tenant meta data or tenent user meta data in terms of instance,cores,ram and ip’s.

1.To list the default quotas for all the tenants

$ nova quota-defaults

manage-compute-service-quotas-in-openstack-01

2.To change the default Value to the tenant here is the command,

$ nova quota-class-update –Quota Limit default

example: $ nova quota-class-update –floating_ips 15 default

3.To View the Quota value for the particular tenant,

$ nova quota-show –tenant $tenant

example: nova quota-show –tenant $admin

4.To update quota for current tenant

$nova quota-update –quota_name quota_value Tenant_ID

example: $ nova quota-update –cores 15 $admin

5.To view the quota values for a tenant user in a particular Tenant

$ nova quota-show –user $tUser –tenant $tenant

example: $ nova quota-show –user $testuser –tenant $admin

manage-compute-service-quotas-in-openstack-02

6.To update quota values for a tenant user in a particular Tenant

$ nova quota-update  –user $tUser –Quota_Name Quota_Value $tenant

example: $ nova quota-update –user $testuser –cores 10 $admin

7. To view the list of arguments that used for quota,

$ nova help quota-update

8. To show the complete quota usage of tenant user,

$ nova absolute-limits –tenant Tenant_Name

example: $ nova absolute-limits –tenant testuser

manage-compute-service-quotas-in-openstack-03

Tags:compute,compute quota,openstack quotas,compute nodes,quota list,image list,glance list,tenant,tenant id,quota commands,compute node list,openstack image list,repository,floating ips,cores

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.