openstack-manuals/doc/admin-guide/source/dashboard-set-quotas.rst
qiaomin 84b1a2ffed [admin-guide] Use "project" to replace "tenant" term in admin-guide
This patch use "project" to replace "tenant" term in admin-guide for
cleanup.

Change-Id: I879a6c1ecfbbed2d8db0a02457d06375a268b176
Partial-Bug: #1475005
2016-09-22 14:15:50 +00:00

5.2 KiB

View and manage quotas

To prevent system capacities from being exhausted without notification, you can set up quotas. Quotas are operational limits. For example, the number of gigabytes allowed for each project can be controlled so that cloud resources are optimized. Quotas can be enforced at both the project and the project-user level.

Typically, you change quotas when a project needs more than ten volumes or 1   TB on a compute node.

Using the Dashboard, you can view default Compute and Block Storage quotas for new projects, as well as update quotas for existing projects.

Note

Using the command-line interface, you can manage quotas for the OpenStack Compute service, the OpenStack Block Storage service, and the OpenStack Networking service (see OpenStack Administrator Guide). Additionally, you can update Compute service quotas for project users.

The following table describes the Compute and Block Storage service quotas:

Quota Descriptions

Quota Name Defines the number of Service
Gigabytes Volume gigabytes allowed for each project. Block Storage
Instances Instances allowed for each project. Compute
Injected Files Injected files allowed for each project. Compute
Injected File Content Bytes Content bytes allowed for each injected file. Compute
Keypairs Number of keypairs. Compute
Metadata Items Metadata items allowed for each instance. Compute
RAM (MB) RAM megabytes allowed for each instance. Compute
Security Groups Security groups allowed for each project. Compute
Security Group Rules Rules allowed for each security group. Compute
Snapshots Volume snapshots allowed for each project. Block Storage
VCPUs Instance cores allowed for each project. Compute
Volumes Volumes allowed for each project. Block Storage

View default project quotas

  1. Log in to the dashboard and select the admin project from the drop-down list.
  2. On the Admin tab, open the System tab and click the Defaults category.
  3. The default quota values are displayed.

Note

You can sort the table by clicking on either the Quota Name or Limit column headers.

Update project quotas

  1. Log in to the dashboard and select the admin project from the drop-down list.
  2. On the Admin tab, open the System tab and click the Defaults category.
  3. Click the Update Defaults button.
  4. In the Update Default Quotas window, you can edit the default quota values.
  5. Click the Update Defaults button.

Note

The dashboard does not show all possible project quotas. To view and update the quotas for a service, use its command-line client. See OpenStack Administrator Guide.