Add the step to create a domain

Two reasons for adding this step:
1. The title of this chapter named “Create a domain, projects, users,
   and roles”,but there is no step to introduce how to create a
   domain.
2. Explain to users where the domain 'default' comes from because the
   default domain is used in later steps.

Change-Id: I5b627ce15f94f18fd538866a32b84e540090bfff
Closes-Bug: 1707130
This commit is contained in:
zhiguo.li 2017-08-15 10:35:43 +08:00 committed by Samuel de Medeiros Queiroz
parent 2164d0550c
commit df03cb25d3
1 changed files with 18 additions and 0 deletions

View File

@ -5,6 +5,24 @@ The Identity service provides authentication services for each OpenStack
service. The authentication service uses a combination of domains,
projects, users, and roles.
#. Although the "default" domain already exists from the `keystone-manage
bootstrap` step in this guide, a formal way to create a new domain would be:
.. code-block:: console
$ openstack domain create --description "An Example Domain" example
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | An Example Domain |
| enabled | True |
| id | 2f4f80574fd84fe6ba9067228ae0a50c |
| name | example |
+-------------+----------------------------------+
.. end
#. This guide uses a service project that contains a unique user for each
service that you add to your environment. Create the ``service``
project: