Merge "Fixes a small typo"
This commit is contained in:
commit
066d80519b
@ -22,8 +22,8 @@
|
|||||||
it also offers an internal mechanism that allows it to operate without
|
it also offers an internal mechanism that allows it to operate without
|
||||||
any other OpenStack services. However, for simplicity, this guide
|
any other OpenStack services. However, for simplicity, this guide
|
||||||
references the Identity service in <xref linkend="ch_keystone"/>. Before
|
references the Identity service in <xref linkend="ch_keystone"/>. Before
|
||||||
you configure the Object Storage service, you must create Identity
|
you configure the Object Storage service, you must create service
|
||||||
service credentials including endpoints.</para>
|
credentials and API endpoints.</para>
|
||||||
<note>
|
<note>
|
||||||
<para>The Object Storage service does not use a SQL database on
|
<para>The Object Storage service does not use a SQL database on
|
||||||
the controller node.</para>
|
the controller node.</para>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
steps:</para>
|
steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create a <literal>swift</literal> user:</para>
|
<para>Create the <literal>swift</literal> user:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-create --name swift --pass <replaceable>SWIFT_PASS</replaceable></userinput>
|
<screen><prompt>$</prompt> <userinput>keystone user-create --name swift --pass <replaceable>SWIFT_PASS</replaceable></userinput>
|
||||||
<computeroutput>+----------+----------------------------------+
|
<computeroutput>+----------+----------------------------------+
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
@ -48,16 +48,15 @@
|
|||||||
password.</para>
|
password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>swift</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>swift</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user swift --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user swift --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>swift</literal> service:</para>
|
<para>Create the <literal>swift</literal> service entity:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name swift --type object-store \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name swift --type object-store \
|
||||||
--description "OpenStack Object Storage"</userinput>
|
--description "OpenStack Object Storage"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -73,7 +72,7 @@
|
|||||||
</substeps>
|
</substeps>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Identity service endpoints:</para>
|
<para>Create the Object Storage service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ object-store / {print $2}') \
|
--service-id $(keystone service-list | awk '/ object-store / {print $2}') \
|
||||||
--publicurl 'http://<replaceable>controller</replaceable>:8080/v1/AUTH_%(tenant_id)s' \
|
--publicurl 'http://<replaceable>controller</replaceable>:8080/v1/AUTH_%(tenant_id)s' \
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you install and configure Telemetry, you must install
|
<para>Before you install and configure Telemetry, you must install
|
||||||
<application>MongoDB</application>, create a MongoDB database, and
|
<application>MongoDB</application>, create a MongoDB database,
|
||||||
create Identity service credentials including endpoints.</para>
|
service credentials, and API endpoints.</para>
|
||||||
<step os="opensuse;sles">
|
<step os="opensuse;sles">
|
||||||
<para>Enable the Open Build Service repositories for MongoDB based on
|
<para>Enable the Open Build Service repositories for MongoDB based on
|
||||||
your openSUSE or SLES version:</para>
|
your openSUSE or SLES version:</para>
|
||||||
@ -104,7 +104,7 @@ Key Expires: Sat Dec 20 20:08:39 2014</programlisting>
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials:</para>
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>ceilometer</literal> user:</para>
|
<para>Create the <literal>ceilometer</literal> user:</para>
|
||||||
@ -113,18 +113,20 @@ Key Expires: Sat Dec 20 20:08:39 2014</programlisting>
|
|||||||
suitable password.</para>
|
suitable password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>ceilometer</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>ceilometer</literal> user.</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user ceilometer --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user ceilometer --tenant service --role admin</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>ceilometer</literal> service:</para>
|
<para>Create the <literal>ceilometer</literal> service
|
||||||
|
entity:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name ceilometer --type metering \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name ceilometer --type metering \
|
||||||
--description "Telemetry"</userinput></screen>
|
--description "Telemetry"</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
|
</substeps>
|
||||||
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Identity service endpoints:</para>
|
<para>Create the Telemetry service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ metering / {print $2}') \
|
--service-id $(keystone service-list | awk '/ metering / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:8777 \
|
--publicurl http://<replaceable>controller</replaceable>:8777 \
|
||||||
@ -132,8 +134,6 @@ Key Expires: Sat Dec 20 20:08:39 2014</programlisting>
|
|||||||
--adminurl http://<replaceable>controller</replaceable>:8777</userinput> \
|
--adminurl http://<replaceable>controller</replaceable>:8777</userinput> \
|
||||||
--region regionOne</screen>
|
--region regionOne</screen>
|
||||||
</step>
|
</step>
|
||||||
</substeps>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
</procedure>
|
||||||
<procedure os="debian">
|
<procedure os="debian">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
|
@ -11,9 +11,8 @@
|
|||||||
volumes to instances.</para>
|
volumes to instances.</para>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you install and configure the Block Storage service, you must
|
<para>Before you install and configure the Block Storage service, you
|
||||||
create a database and Identity service credentials including
|
must create a database, service credentials, and API endpoints.</para>
|
||||||
endpoints.</para>
|
|
||||||
<step>
|
<step>
|
||||||
<para>To create the database, complete these steps:</para>
|
<para>To create the database, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -47,8 +46,7 @@
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials, complete these
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
steps:</para>
|
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create a <literal>cinder</literal> user:</para>
|
<para>Create a <literal>cinder</literal> user:</para>
|
||||||
@ -66,16 +64,15 @@
|
|||||||
password.</para>
|
password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>cinder</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>cinder</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user cinder --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user cinder --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>cinder</literal> services:</para>
|
<para>Create the <literal>cinder</literal> service entities:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name cinder --type volume \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name cinder --type volume \
|
||||||
--description "OpenStack Block Storage"</userinput>
|
--description "OpenStack Block Storage"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -99,12 +96,14 @@
|
|||||||
| type | volumev2 |
|
| type | volumev2 |
|
||||||
+-------------+----------------------------------+</computeroutput></screen>
|
+-------------+----------------------------------+</computeroutput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>The Block Storage service requires two different services
|
<para>The Block Storage service requires two different service
|
||||||
to support API versions 1 and 2.</para>
|
entities to support API versions 1 and 2.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
|
</substeps>
|
||||||
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Block Storage service endpoints:</para>
|
<para>Create the Block Storage service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ volume / {print $2}') \
|
--service-id $(keystone service-list | awk '/ volume / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:8776/v1/%\(tenant_id\)s \
|
--publicurl http://<replaceable>controller</replaceable>:8776/v1/%\(tenant_id\)s \
|
||||||
@ -142,8 +141,6 @@
|
|||||||
to support API versions 1 and 2.</para>
|
to support API versions 1 and 2.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
</substeps>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
</procedure>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To install and configure Block Storage controller components</title>
|
<title>To install and configure Block Storage controller components</title>
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
</note>
|
</note>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you install and configure the Image Service, you must create
|
<para>Before you install and configure the Image Service, you must
|
||||||
a database and Identity service credentials including endpoints.</para>
|
create a database, service credentials, and API endpoints.</para>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the database, complete these steps:</para>
|
<para>To create the database, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -51,8 +51,7 @@
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials, complete these
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
steps:</para>
|
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>glance</literal> user:</para>
|
<para>Create the <literal>glance</literal> user:</para>
|
||||||
@ -70,16 +69,15 @@
|
|||||||
password.</para>
|
password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>glance</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>glance</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user glance --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user glance --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>glance</literal> service:</para>
|
<para>Create the <literal>glance</literal> service entity:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name glance --type image \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name glance --type image \
|
||||||
--description "OpenStack Image Service"</userinput>
|
--description "OpenStack Image Service"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -95,7 +93,7 @@
|
|||||||
</substeps>
|
</substeps>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Identity service endpoints:</para>
|
<para>Create the Image Service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ image / {print $2}') \
|
--service-id $(keystone service-list | awk '/ image / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:9292 \
|
--publicurl http://<replaceable>controller</replaceable>:9292 \
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you install and configure Orchestration, you must create a
|
<para>Before you install and configure Orchestration, you must create a
|
||||||
database and Identity service credentials including endpoints.</para>
|
database, service credentials, and API endpoints.</para>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the database, complete these steps:</para>
|
<para>To create the database, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -44,8 +44,7 @@
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials, complete these
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
steps:</para>
|
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>heat</literal> user:</para>
|
<para>Create the <literal>heat</literal> user:</para>
|
||||||
@ -63,9 +62,8 @@
|
|||||||
password.</para>
|
password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>heat</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>heat</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user heat --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user heat --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
@ -98,7 +96,7 @@
|
|||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>heat</literal> and
|
<para>Create the <literal>heat</literal> and
|
||||||
<literal>heat-cfn</literal> services:</para>
|
<literal>heat-cfn</literal> service entities:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name heat --type orchestration \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name heat --type orchestration \
|
||||||
--description "Orchestration"</userinput>
|
--description "Orchestration"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -122,8 +120,10 @@
|
|||||||
| type | cloudformation |
|
| type | cloudformation |
|
||||||
+-------------+----------------------------------+</computeroutput></screen>
|
+-------------+----------------------------------+</computeroutput></screen>
|
||||||
</step>
|
</step>
|
||||||
|
</substeps>
|
||||||
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Identity service endpoints:</para>
|
<para>Create the Orchestration service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ orchestration / {print $2}') \
|
--service-id $(keystone service-list | awk '/ orchestration / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:8004/v1/%\(tenant_id\)s \
|
--publicurl http://<replaceable>controller</replaceable>:8004/v1/%\(tenant_id\)s \
|
||||||
@ -157,8 +157,6 @@
|
|||||||
| service_id | 297740d74c0a446bbff867acdccb33fa |
|
| service_id | 297740d74c0a446bbff867acdccb33fa |
|
||||||
+-------------+----------------------------------+</computeroutput></screen>
|
+-------------+----------------------------------+</computeroutput></screen>
|
||||||
</step>
|
</step>
|
||||||
</substeps>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
</procedure>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To install and configure the Orchestration components</title>
|
<title>To install and configure the Orchestration components</title>
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
<title>Create the service entity and API endpoint</title>
|
<title>Create the service entity and API endpoint</title>
|
||||||
<para>After you create tenants, users, and roles, you must create the
|
<para>After you create tenants, users, and roles, you must create the
|
||||||
<glossterm>service</glossterm> entity and
|
<glossterm>service</glossterm> entity and
|
||||||
<glossterm>API endpoint</glossterm> for the Identity service.</para>
|
<glossterm baseform="API endpoint">API endpoints</glossterm> for the
|
||||||
|
Identity service.</para>
|
||||||
<procedure>
|
<procedure>
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<step>
|
<step>
|
||||||
@ -18,7 +19,7 @@
|
|||||||
</step>
|
</step>
|
||||||
</procedure>
|
</procedure>
|
||||||
<procedure>
|
<procedure>
|
||||||
<title>To create the service entity and API endpoint</title>
|
<title>To create the service entity and API endpoints</title>
|
||||||
<step>
|
<step>
|
||||||
<para>The Identity service manages a catalog of services in your
|
<para>The Identity service manages a catalog of services in your
|
||||||
OpenStack environment. Services use this catalog to locate other
|
OpenStack environment. Services use this catalog to locate other
|
||||||
@ -52,7 +53,7 @@
|
|||||||
scalability. For simplicity, this configuration uses the management
|
scalability. For simplicity, this configuration uses the management
|
||||||
network for all endpoint variations and the
|
network for all endpoint variations and the
|
||||||
<literal>regionOne</literal> region.</para>
|
<literal>regionOne</literal> region.</para>
|
||||||
<para>Create the API endpoint for the Identity service:</para>
|
<para>Create the Identity service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ identity / {print $2}') \
|
--service-id $(keystone service-list | awk '/ identity / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:5000/v2.0 \
|
--publicurl http://<replaceable>controller</replaceable>:5000/v2.0 \
|
||||||
|
@ -7,8 +7,9 @@
|
|||||||
<title>Install and configure controller node</title>
|
<title>Install and configure controller node</title>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you configure OpenStack Networking (neutron), you must create
|
<para>Before you configure the OpenStack Networking (neutron) service,
|
||||||
a database and Identity service credentials including endpoints.</para>
|
you must create a database, service credentials, and API
|
||||||
|
endpoints.</para>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the database, complete these steps:</para>
|
<para>To create the database, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -42,8 +43,7 @@
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials, complete these
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
steps:</para>
|
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>neutron</literal> user:</para>
|
<para>Create the <literal>neutron</literal> user:</para>
|
||||||
@ -61,16 +61,15 @@
|
|||||||
password.</para>
|
password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>neutron</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>neutron</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user neutron --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user neutron --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>neutron</literal> service:</para>
|
<para>Create the <literal>neutron</literal> service entity:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name neutron --type network \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name neutron --type network \
|
||||||
--description "OpenStack Networking"</userinput>
|
--description "OpenStack Networking"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -83,8 +82,10 @@
|
|||||||
| type | network |
|
| type | network |
|
||||||
+-------------+----------------------------------+</computeroutput></screen>
|
+-------------+----------------------------------+</computeroutput></screen>
|
||||||
</step>
|
</step>
|
||||||
|
</substeps>
|
||||||
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Identity service endpoints:</para>
|
<para>Create the Networking service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ network / {print $2}') \
|
--service-id $(keystone service-list | awk '/ network / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:9696 \
|
--publicurl http://<replaceable>controller</replaceable>:9696 \
|
||||||
@ -102,8 +103,6 @@
|
|||||||
| service_id | 6369ddaf99a447f3a0d41dac5e342161 |
|
| service_id | 6369ddaf99a447f3a0d41dac5e342161 |
|
||||||
+-------------+----------------------------------+</computeroutput></screen>
|
+-------------+----------------------------------+</computeroutput></screen>
|
||||||
</step>
|
</step>
|
||||||
</substeps>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
</procedure>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To install the Networking components</title>
|
<title>To install the Networking components</title>
|
||||||
|
@ -9,9 +9,8 @@
|
|||||||
Compute service, code-named nova, on the controller node.</para>
|
Compute service, code-named nova, on the controller node.</para>
|
||||||
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
<procedure os="ubuntu;rhel;centos;fedora;sles;opensuse">
|
||||||
<title>To configure prerequisites</title>
|
<title>To configure prerequisites</title>
|
||||||
<para>Before you install and configure Compute, you must
|
<para>Before you install and configure the Compute service, you must
|
||||||
create a database and Identity service credentials
|
create a database, service credentials, and API endpoints.</para>
|
||||||
including endpoints.</para>
|
|
||||||
<step>
|
<step>
|
||||||
<para>To create the database, complete these steps:</para>
|
<para>To create the database, complete these steps:</para>
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -47,8 +46,7 @@
|
|||||||
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>To create the Identity service credentials, complete these
|
<para>To create the service credentials, complete these steps:</para>
|
||||||
steps:</para>
|
|
||||||
<substeps>
|
<substeps>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>nova</literal> user:</para>
|
<para>Create the <literal>nova</literal> user:</para>
|
||||||
@ -67,16 +65,15 @@
|
|||||||
a suitable password.</para>
|
a suitable password.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Link the <literal>nova</literal> user to the
|
<para>Add the <literal>admin</literal> role to the
|
||||||
<literal>service</literal> tenant and <literal>admin</literal>
|
<literal>nova</literal> user:</para>
|
||||||
role:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user nova --tenant service --role admin</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone user-role-add --user nova --tenant service --role admin</userinput></screen>
|
||||||
<note>
|
<note>
|
||||||
<para>This command provides no output.</para>
|
<para>This command provides no output.</para>
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the <literal>nova</literal> service:</para>
|
<para>Create the <literal>nova</literal> service entity:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone service-create --name nova --type compute \
|
<screen><prompt>$</prompt> <userinput>keystone service-create --name nova --type compute \
|
||||||
--description "OpenStack Compute"</userinput>
|
--description "OpenStack Compute"</userinput>
|
||||||
<computeroutput>+-------------+----------------------------------+
|
<computeroutput>+-------------+----------------------------------+
|
||||||
@ -93,7 +90,7 @@
|
|||||||
</substeps>
|
</substeps>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Create the Compute service endpoints:</para>
|
<para>Create the Compute service API endpoints:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
<screen><prompt>$</prompt> <userinput>keystone endpoint-create \
|
||||||
--service-id $(keystone service-list | awk '/ compute / {print $2}') \
|
--service-id $(keystone service-list | awk '/ compute / {print $2}') \
|
||||||
--publicurl http://<replaceable>controller</replaceable>:8774/v2/%\(tenant_id\)s \
|
--publicurl http://<replaceable>controller</replaceable>:8774/v2/%\(tenant_id\)s \
|
||||||
|
Loading…
Reference in New Issue
Block a user