Updated keystone CLI options
- Updated --os-token/--os-endpoint options - Replaced underscores with hyphens - Removed hashed password from user-create response - Removed explicit --enabled=true (which is the default behavior) - Removed null values from CLI output, which are no longer rendered Change-Id: I14544a00017c3f8e51cfd018fcbc12e6a3257011
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
any (0.0.0.0) and restart the mysql service, as root. </para>
|
||||
<para>
|
||||
<screen os="ubuntu"><prompt>#</prompt> <userinput>sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf</userinput>
|
||||
<prompt>#</prompt> <userinput>service mysql restart</userinput></screen>
|
||||
<prompt>#</prompt> <userinput>service mysql restart</userinput></screen>
|
||||
</para>
|
||||
<para os="rhel;centos;fedora">Set MySQL to start the daemon every time you start and then start the server.
|
||||
<screen>
|
||||
@@ -107,37 +107,36 @@
|
||||
available. </para>
|
||||
<para>First, create a default tenant, we'll name it
|
||||
<literal>openstackDemo</literal> in this example.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 tenant-create --name openstackDemo --description "Default Tenant" --enabled true</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 tenant-create --name openstackDemo --description "Default Tenant"</userinput></screen>
|
||||
<programlisting> +-------------+----------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+----------------------------------+
|
||||
| description | Default Tenant |
|
||||
| enabled | true |
|
||||
| enabled | True |
|
||||
| id | b5815b046cfe47bb891a7b64119e7f80 |
|
||||
| name | openstackDemo |
|
||||
+-------------+----------------------------------+</programlisting>
|
||||
<para>Create a default user named <literal>admin</literal>. </para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-create --tenant_id b5815b046cfe47bb891a7b64119e7f80 --name admin --pass secretword --enabled true</userinput></screen>
|
||||
<programlisting> +----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| email | None |
|
||||
| enabled | true |
|
||||
| id | a4c2d43f80a549a19864c89d759bb3fe |
|
||||
| name | admin |
|
||||
| password | $6$rounds=40000$MsFWIgIfbAHnhUH8$vvSK9/Uy3P5BTdH0kn.0MH.xFHAR2pWQCpTRLTENPs.3w53jb5BbbkIKHnkTbzWW3xVwqsb3W5e./3EIaNPeP0 |
|
||||
| tenantId | b5815b046cfe47bb891a7b64119e7f80 |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-create --tenant-id b5815b046cfe47bb891a7b64119e7f80 --name admin --pass secretword</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| email | |
|
||||
| enabled | True |
|
||||
| id | a4c2d43f80a549a19864c89d759bb3fe |
|
||||
| name | admin |
|
||||
| tenantId | b5815b046cfe47bb891a7b64119e7f80 |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<para>Create the default roles, <literal>admin</literal> and
|
||||
<literal>memberRole</literal>.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 role-create --name admin</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 role-create --name admin</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| id | e3d9d157cc95410ea45d23bbbc2e5c10 |
|
||||
| name | admin |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 role-create --name memberRole</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 role-create --name memberRole</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
@@ -148,92 +147,88 @@
|
||||
<literal>admin</literal> user in the
|
||||
<literal>openstackDemo</literal> tenant with
|
||||
"user-role-add".</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-role-add --user a4c2d43f80a549a19864c89d759bb3fe --tenant_id b5815b046cfe47bb891a7b64119e7f80 --role e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-role-add --user-id a4c2d43f80a549a19864c89d759bb3fe --tenant-id b5815b046cfe47bb891a7b64119e7f80 --role-id e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<para>There is no output to this command.</para>
|
||||
<para>Create a Service Tenant. This tenant contains all the
|
||||
services that we make known to the service catalog. </para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 tenant-create --name service --description "Service Tenant" --enabled true</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 tenant-create --name service --description "Service Tenant"</userinput></screen>
|
||||
<programlisting> +-------------+----------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+----------------------------------+
|
||||
| description | Service Tenant |
|
||||
| enabled | true |
|
||||
| enabled | True |
|
||||
| id | eb7e0c10a99446cfa14c244374549e9d |
|
||||
| name | service |
|
||||
+-------------+----------------------------------+</programlisting>
|
||||
<para>Create a Glance Service User in the Service Tenant. You'll
|
||||
do this for any service you add to be in the Keystone service
|
||||
catalog.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-create --tenant_id eb7e0c10a99446cfa14c244374549e9d --name glance --pass glance --enabled true</userinput></screen>
|
||||
<programlisting> +----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| email | None |
|
||||
| enabled | true |
|
||||
| id | 46b2667a7807483d983e0b4037a1623b |
|
||||
| name | glance |
|
||||
| password | $6$rounds=40000$kf1ENaCoy7wOfRjx$LKQtsQbBqSBr2ZH7fwToAut0EYYz6M278N16Xg4Va2vTEOFabvTVXCdCP4hA5ikdCQO8Mh1nJvuFMEvGHaht3/ |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-create --tenant-id eb7e0c10a99446cfa14c244374549e9d --name glance --pass glance</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| email | |
|
||||
| enabled | True |
|
||||
| id | 46b2667a7807483d983e0b4037a1623b |
|
||||
| name | glance |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<para>Grant the <literal>admin</literal> role to the
|
||||
<literal>glance</literal> user in the
|
||||
<literal>service</literal> tenant.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-role-add --user 46b2667a7807483d983e0b4037a1623b --tenant_id eb7e0c10a99446cfa14c244374549e9d --role e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-role-add --user-id 46b2667a7807483d983e0b4037a1623b --tenant-id eb7e0c10a99446cfa14c244374549e9d --role-id e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<para>There is no output to this command. </para>
|
||||
<para>Create a Nova Service User in the Service Tenant. </para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-create --tenant_id eb7e0c10a99446cfa14c244374549e9d --name nova --pass nova --enabled true</userinput></screen>
|
||||
<programlisting> +----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| email | None |
|
||||
| enabled | true |
|
||||
| id | 54b3776a8707834d983e0b4037b1345c |
|
||||
| name | nova |
|
||||
| password | $6$rounds=40000$kf1ENaCoy7wOfRjx$LKQtsQbBqSBr2ZH7fwToAut0EYYz6M278N16Xg4Va2vTEOFabvTVXCdCP4hA5ikdCQO8Mh1nJvuFMEvGHaht3/ |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-create --tenant-id eb7e0c10a99446cfa14c244374549e9d --name nova --pass nova</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| email | |
|
||||
| enabled | True |
|
||||
| id | 54b3776a8707834d983e0b4037b1345c |
|
||||
| name | nova |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<para>Grant the <literal>admin</literal> role to the
|
||||
<literal>nova</literal> user in the
|
||||
<literal>service</literal> tenant.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-role-add --user 54b3776a8707834d983e0b4037b1345c --tenant_id eb7e0c10a99446cfa14c244374549e9d --role e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-role-add --user-id 54b3776a8707834d983e0b4037b1345c --tenant-id eb7e0c10a99446cfa14c244374549e9d --role-id e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<para>There is no output to this command. </para>
|
||||
<para>Create an EC2 Service User in the Service Tenant. </para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-create --tenant_id eb7e0c10a99446cfa14c244374549e9d --name ec2 --pass ec2 --enabled true</userinput></screen>
|
||||
<programlisting> +----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| email | None |
|
||||
| enabled | true |
|
||||
| id | 32e7668b8707834d983e0b4037b1345c |
|
||||
| name | ec2 |
|
||||
| password | $6$rounds=40000$kf1ENaCoy7wOfRjx$LKQtsQbBqSBr2ZH7fwToAut0EYYz6M278N16Xg4Va2vTEOFabvTVXCdCP4hA5ikdCQO8Mh1nJvuFMEvGHaht3/ |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-create --tenant-id eb7e0c10a99446cfa14c244374549e9d --name ec2 --pass ec2</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| email | |
|
||||
| enabled | True |
|
||||
| id | 32e7668b8707834d983e0b4037b1345c |
|
||||
| name | ec2 |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<para>Grant the <literal>admin</literal> role to the
|
||||
<literal>ec2</literal> user in the
|
||||
<literal>service</literal> tenant.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-role-add --user 32e7668b8707834d983e0b4037b1345c --tenant_id eb7e0c10a99446cfa14c244374549e9d --role e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-role-add --user-id 32e7668b8707834d983e0b4037b1345c --tenant-id eb7e0c10a99446cfa14c244374549e9d --role-id e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<para>There is no output to this command.</para>
|
||||
<para>Create an Object Storage Service User in the Service
|
||||
Tenant. </para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-create --tenant_id eb7e0c10a99446cfa14c244374549e9d --name swift --pass swiftpass --enabled true</userinput></screen>
|
||||
<programlisting> +----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| email | None |
|
||||
| enabled | true |
|
||||
| id | 4346677b8909823e389f0b4037b1246e |
|
||||
| name | swift |
|
||||
| password | $6$rounds=40000$kf1ENaCoy7wOfRjx$LKQtsQbBqSBr2ZH7fwToAut0EYYz6M278N16Xg4Va2vTEOFabvTVXCdCP4hA5ikdCQO8Mh1nJvuFMEvGHaht3/ |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+-------------------------------------------------------------------------------------------------------------------------+</programlisting>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-create --tenant-id eb7e0c10a99446cfa14c244374549e9d --name swift --pass swiftpass</userinput></screen>
|
||||
<programlisting> +----------+----------------------------------+
|
||||
| Property | Value |
|
||||
+----------+----------------------------------+
|
||||
| email | |
|
||||
| enabled | True |
|
||||
| id | 4346677b8909823e389f0b4037b1246e |
|
||||
| name | swift |
|
||||
| tenantId | eb7e0c10a99446cfa14c244374549e9d |
|
||||
+----------+----------------------------------+</programlisting>
|
||||
<para>Grant the <literal>admin</literal> role to the
|
||||
<literal>swift</literal> user in the
|
||||
<literal>service</literal> tenant.</para>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 user-role-add --user 4346677b8909823e389f0b4037b1246e --tenant_id eb7e0c10a99446cfa14c244374549e9d --role e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 --os-endpoint http://192.168.206.130:35357/v2.0 user-role-add --user-id 4346677b8909823e389f0b4037b1246e --tenant-id eb7e0c10a99446cfa14c244374549e9d --role-id e3d9d157cc95410ea45d23bbbc2e5c10</userinput></screen>
|
||||
<para>There is no output to this command.</para>
|
||||
<para>Next you create definitions for the services.</para>
|
||||
|
||||
|
||||
</section>
|
||||
</section>
|
||||
<section xml:id="defining-services">
|
||||
@@ -321,7 +316,7 @@ driver = keystone.catalog.backends.sql.Catalog
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>--service_id</literal></term>
|
||||
<term><literal>--service-id</literal></term>
|
||||
<listitem>
|
||||
<para>The ID field returned by the <command>keystone
|
||||
service-create</command> (e.g.,
|
||||
@@ -382,8 +377,8 @@ driver = keystone.catalog.backends.sql.Catalog
|
||||
<para>Here we define the services and their endpoints.</para>
|
||||
<para>Define the Identity service:</para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=keystone \
|
||||
--type=identity \
|
||||
@@ -397,11 +392,11 @@ driver = keystone.catalog.backends.sql.Catalog
|
||||
| name | keystone |
|
||||
| type | identity |
|
||||
+-------------+----------------------------------+</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=15c11a23667e427e91bc31335b45f4bd \
|
||||
--service-id=15c11a23667e427e91bc31335b45f4bd \
|
||||
--publicurl=http://192.168.206.130:5000/v2.0 \
|
||||
--internalurl=http://192.168.206.130:5000/v2.0 \
|
||||
--adminurl=http://192.168.206.130:35357/v2.0</userinput>
|
||||
@@ -428,8 +423,8 @@ driver = keystone.catalog.backends.sql.Catalog
|
||||
endpoint.</para>
|
||||
</note></para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=nova \
|
||||
--type=compute \
|
||||
@@ -442,12 +437,12 @@ service-create \
|
||||
| name | nova |
|
||||
| type | compute |
|
||||
+-------------+----------------------------------+
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=abc0f03c02904c24abdcc3b7910e2eed \
|
||||
--service-id=abc0f03c02904c24abdcc3b7910e2eed \
|
||||
--publicurl='http://192.168.206.130:8774/v2/%(tenant_id)s' \
|
||||
--internalurl='http://192.168.206.130:8774/v2/%(tenant_id)s' \
|
||||
--adminurl='http://192.168.206.130:8774/v2/%(tenant_id)s'</userinput>
|
||||
@@ -466,8 +461,8 @@ endpoint-create \
|
||||
<para>Define the Volume service, which also requires a separate
|
||||
endpoint for each tenant.</para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=volume \
|
||||
--type=volume \
|
||||
@@ -483,14 +478,14 @@ service-create \
|
||||
| type | volume |
|
||||
+-------------+----------------------------------+
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=1ff4ece13c3e48d8a6461faebd9cd38f \
|
||||
--service-id=1ff4ece13c3e48d8a6461faebd9cd38f \
|
||||
--publicurl='http://192.168.206.130:8776/v1/%(tenant_id)s' \
|
||||
--internalurl='http://192.168.206.130:8776/v1/%(tenant_id)s' \
|
||||
--adminurl='http://192.168.206.130:8776/v1/%(tenant_id)s'
|
||||
--adminurl='http://192.168.206.130:8776/v1/%(tenant_id)s'
|
||||
</userinput>
|
||||
<computeroutput>
|
||||
+-------------+----------------------------------------------+
|
||||
@@ -507,8 +502,8 @@ service-create \
|
||||
</screen>
|
||||
<para>Define the Image service:</para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=glance \
|
||||
--type=image \
|
||||
@@ -524,11 +519,11 @@ service-create \
|
||||
| type | image |
|
||||
+-------------+----------------------------------+
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=7d5258c490144c8c92505267785327c1 \
|
||||
--service-id=7d5258c490144c8c92505267785327c1 \
|
||||
--publicurl=http://192.168.206.130:9292/v1 \
|
||||
--internalurl=http://192.168.206.130:9292/v1 \
|
||||
--adminurl=http://192.168.206.130:9292/v1
|
||||
@@ -548,8 +543,8 @@ service-create \
|
||||
</screen>
|
||||
<para>Define the EC2 compatibility service:</para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=ec2 \
|
||||
--type=ec2 \
|
||||
@@ -563,11 +558,11 @@ service-create \
|
||||
| type | ec2 |
|
||||
+-------------+----------------------------------+
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=181cdad1d1264387bcc411e1c6a6a5fd \
|
||||
--service-id=181cdad1d1264387bcc411e1c6a6a5fd \
|
||||
--publicurl=http://192.168.206.130:8773/services/Cloud \
|
||||
--internalurl=http://192.168.206.130:8773/services/Cloud \
|
||||
--adminurl=http://192.168.206.130:8773/services/Admin
|
||||
@@ -587,8 +582,8 @@ service-create \
|
||||
</screen>
|
||||
<para>Define the Object Storage service:</para>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
service-create \
|
||||
--name=swift \
|
||||
--type=object-store \
|
||||
@@ -602,11 +597,11 @@ service-create \
|
||||
| type | object-store |
|
||||
+-------------+----------------------------------+
|
||||
</computeroutput>
|
||||
<prompt>$</prompt> <userinput>keystone --token 012345SECRET99TOKEN012345 \
|
||||
--endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
<prompt>$</prompt> <userinput>keystone --os-token 012345SECRET99TOKEN012345 \
|
||||
--os-endpoint http://192.168.206.130:35357/v2.0/ \
|
||||
endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id=272efad2d1234376cbb911c1e5a5a6ed \
|
||||
--service-id=272efad2d1234376cbb911c1e5a5a6ed \
|
||||
--publicurl 'http://192.168.206.130:8888/v1/AUTH_%(tenant_id)s' \
|
||||
--adminurl 'http://192.168.206.130:8888/v1' \
|
||||
--internalurl 'http://192.168.206.130:8888/v1/AUTH_%(tenant_id)s'
|
||||
|
||||
Reference in New Issue
Block a user