Fix additional issue with _member_ role creation

I removed the '--tenant' option from the admin user/tenant
creation step because the latter needs only the admin role.
Also, I provided an explanation about automatic assignment
and/or creation of the _member_ role.

Change-Id: I036ae43b73c8ca469e04e8090e197d57a7a5f5d0
Closes-Bug: #1403136
backport: juno
This commit is contained in:
Matthew Kassawara 2014-12-22 13:33:13 -06:00
parent 14903f4e5e
commit 549be4ba1d

View File

@ -62,9 +62,8 @@
</note> </note>
</step> </step>
<step> <step>
<para>Create the <literal>admin</literal> user under the <para>Create the <literal>admin</literal> user:</para>
<literal>admin</literal> tenant:</para> <screen><prompt>$</prompt> <userinput>keystone user-create --name admin --pass <replaceable>ADMIN_PASS</replaceable> --email <replaceable>EMAIL_ADDRESS</replaceable></userinput>
<screen><prompt>$</prompt> <userinput>keystone user-create --name admin --tenant admin --pass <replaceable>ADMIN_PASS</replaceable> --email <replaceable>EMAIL_ADDRESS</replaceable></userinput>
<computeroutput>+----------+----------------------------------+ <computeroutput>+----------+----------------------------------+
| Property | Value | | Property | Value |
+----------+----------------------------------+ +----------+----------------------------------+
@ -72,7 +71,6 @@
| enabled | True | | enabled | True |
| id | ea8c352d253443118041c9c8b8416040 | | id | ea8c352d253443118041c9c8b8416040 |
| name | admin | | name | admin |
| tenantId | 6f4c1e4cbfef4d5a8a1345882fbca110 |
| username | admin | | username | admin |
+----------+----------------------------------+</computeroutput></screen> +----------+----------------------------------+</computeroutput></screen>
<para>Replace <replaceable>ADMIN_PASS</replaceable> with a <para>Replace <replaceable>ADMIN_PASS</replaceable> with a
@ -144,6 +142,12 @@
<para>Replace <replaceable>DEMO_PASS</replaceable> with a suitable <para>Replace <replaceable>DEMO_PASS</replaceable> with a suitable
password and <replaceable>EMAIL_ADDRESS</replaceable> with a password and <replaceable>EMAIL_ADDRESS</replaceable> with a
suitable e-mail address.</para> suitable e-mail address.</para>
<note>
<para>Using the <literal>--tenant</literal> option
automatically assigns the <literal>_member_</literal> role
to a user. This option will also create the
<literal>_member_</literal> role if it does not exist.</para>
</note>
</step> </step>
</substeps> </substeps>
<note> <note>