7acc0b1785
Added procedures for managing user quota info in Compute. Updated the procedure for setting default quotas (to match the manpage;'default' moved to end of command). Updated displayed tables, and updated the listing of quota name/descriptions to match. Also updated the title of the networking quotas page to be consistent with other sections. Updated dashboard page: added note about tenant user updates, combined compute and block storage tables, removed floating and fixed ip descriptions (were removed from dashboard listing), fixed procedures to match Havana 3 changes. Closes-Bug: #1192017 Change-Id: I059b1bbd6792be2fadfb28f49c2b2b3ec89e1d28
54 lines
2.6 KiB
XML
54 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE section [
|
|
<!-- Some useful entities borrowed from HTML -->
|
|
<!ENTITY ndash "–">
|
|
<!ENTITY mdash "—">
|
|
<!ENTITY hellip "…">
|
|
<!ENTITY plusmn "±">
|
|
]>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
|
xml:id="cli_set_quotas">
|
|
<?dbhtml stop-chunking?>
|
|
<title>Manage quotas</title>
|
|
<para>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
|
|
tenant can be controlled so that cloud resources are optimized.
|
|
Quotas can be enforced at both the tenant (or project)
|
|
and the tenant-user level.</para>
|
|
<para>Using the command-line interface, you can manage quotas for
|
|
the OpenStack Compute Service, the OpenStack Block Storage Service,
|
|
and the OpenStack Networking Service.</para>
|
|
<para>Typically, default values are changed because a tenant
|
|
requires more than 10 volumes, or more than 1TB on a Compute node.</para>
|
|
<note>
|
|
<para>To view all tenants (projects), run:
|
|
<screen><prompt>$</prompt> <userinput>keystone tenant-list</userinput>
|
|
<computeroutput>+----------------------------------+----------+---------+
|
|
| id | name | enabled |
|
|
+----------------------------------+----------+---------+
|
|
| e66d97ac1b704897853412fc8450f7b9 | admin | True |
|
|
| bf4a37b885fe46bd86e999e50adad1d3 | services | True |
|
|
| 21bd1c7c95234fd28f589b60903606fa | tenant01 | True |
|
|
| f599c5cd1cba4125ae3d7caed08e288c | tenant02 | True |
|
|
+----------------------------------+----------+---------+</computeroutput></screen>
|
|
</para>
|
|
<para>To display all current users for a tenant, run:</para>
|
|
<para>
|
|
<screen><prompt>$</prompt> <userinput>keystone user-list --tenant-id <replaceable>tenantID</replaceable></userinput>
|
|
<computeroutput>+----------------------------------+--------+---------+-------+
|
|
| id | name | enabled | email |
|
|
+----------------------------------+--------+---------+-------+
|
|
| ea30aa434ab24a139b0e85125ec8a217 | demo00 | True | |
|
|
| 4f8113c1d838467cad0c2f337b3dfded | demo01 | True | |
|
|
+----------------------------------+--------+---------+-------+
|
|
</computeroutput></screen>
|
|
</para>
|
|
</note>
|
|
<xi:include href="../common/section_nova_cli_quotas.xml"/>
|
|
<xi:include href="section_cinder_cli_quotas.xml"/>
|
|
<xi:include href="../common/section_networking-quotas.xml"/>
|
|
</section>
|