diff --git a/doc/openstack-ops/ch_ops_projects_users.xml b/doc/openstack-ops/ch_ops_projects_users.xml index fb260033..ce623a60 100644 --- a/doc/openstack-ops/ch_ops_projects_users.xml +++ b/doc/openstack-ops/ch_ops_projects_users.xml @@ -117,16 +117,15 @@ quite convenient to deal with all these operations at one time. To add a project through the command line, you must use the - keystone utility, which uses tenant in place of - project: + OpenStack command line client. - # keystone tenant-create --name=demo + # openstack project create demo This command creates a project named "demo." Optionally, you can add a description string by appending --description tenant-description, which can be very useful. You can also create a group in a disabled state by appending - --enabled false to the command. By default, projects are + --disable to the command. By default, projects are created in an enabled state. @@ -163,16 +162,16 @@ OpenStack default of 1 TB of disk space on a compute node. - To view all tenants, run: $ keystone tenant-list + To view all tenants, run: $ openstack project list -+---------------------------------+----------+---------+ -| id | name | enabled | -+---------------------------------+----------+---------+ -| a981642d22c94e159a4a6540f70f9f8 | admin | True | -| 934b662357674c7b9f5e4ec6ded4d0e | tenant01 | True | -| 7bc1dbfd7d284ec4a856ea1eb82dca8 | tenant02 | True | -| 9c554aaef7804ba49e1b21cbd97d218 | services | True | -+---------------------------------+----------+---------+ ++---------------------------------+----------+ +| ID | Name | ++---------------------------------+----------+ +| a981642d22c94e159a4a6540f70f9f8 | admin | +| 934b662357674c7b9f5e4ec6ded4d0e | tenant01 | +| 7bc1dbfd7d284ec4a856ea1eb82dca8 | tenant02 | +| 9c554aaef7804ba49e1b21cbd97d218 | services | ++---------------------------------+----------+ @@ -409,7 +408,7 @@ Place the tenant ID in a variable: - $ tenant=$(keystone tenant-list | awk '/tenantName/ {print $2}') + $ tenant=$(openstack project list | awk '/tenantName/ {print $2}') @@ -446,7 +445,7 @@ Obtain the tenant ID, as follows: - $ tenant=$(keystone tenant-list | awk '/tenantName/ {print $2}') + $ tenant=$(openstack project list | awk '/tenantName/ {print $2}') @@ -702,7 +701,7 @@ Accept-Ranges: bytes Place the tenant ID in a variable: - $ tenant=$(keystone tenant-list | awk '/tenantName/ {print $2}') + $ tenant=$(openstack project list | awk '/tenantName/ {print $2}')