Install Guide: Fix openstack service create invocation

Fix this warning that appears with openstack version 1.0.3:
 # openstack service create --type identity   --description "OpenStack
Identity" keystone
WARNING: openstackclient.identity.v2_0.service.CreateService The
argument --type is deprecated, use service create --name <service-name>
type instead.

Note that the order is different, previously "--type TYPE NAME" and
now "--name NAME TYPE".

partially implements: blueprint installguide-kilo

Closes-Bug: #1453883
Closes-Bug: #1453891

Co-Authored-By: Christian Berendt <berendt@b1-systems.de>
Co-Authored-By: Flávio Ramalho <flaviosr@lsd.ufcg.edu.br>
Change-Id: I72f89defd7f55ce2822b5b511280f40196361f68
This commit is contained in:
Andreas Jaeger 2015-04-15 16:23:23 +02:00
parent b00bd159b2
commit 591552a786
11 changed files with 30 additions and 29 deletions

View File

@ -153,8 +153,8 @@ Repeat User Password:
<step>
<para>Create the <literal>ceilometer</literal> service
entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type metering \
--description "Telemetry" ceilometer</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name ceilometer \
--description "Telemetry" metering</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+

View File

@ -76,8 +76,8 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>cinder</literal> service entities:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type volume \
--description "OpenStack Block Storage" cinder</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name cinder \
--description "OpenStack Block Storage" volume</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
@ -87,8 +87,8 @@ Repeat User Password:
| name | cinder |
| type | volume |
+-------------+----------------------------------+</computeroutput></screen>
<screen><prompt>$</prompt> <userinput>openstack service create --type volumev2 \
--description "OpenStack Block Storage" cinderv2</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name cinderv2 \
--description "OpenStack Block Storage" volumev2</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+

View File

@ -84,9 +84,9 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>glance</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type image \
--description "OpenStack Image service" glance</userinput>
<computeroutput>+-------------+----------------------------------+
<screen><prompt>$</prompt> <userinput>openstack service create --name glance \
--description "OpenStack Image service" image</userinput></screen>
<screen><computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | OpenStack Image service |

View File

@ -118,8 +118,8 @@ Repeat User Password:
<step>
<para>Create the <literal>heat</literal> and
<literal>heat-cfn</literal> service entities:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type orchestration \
--description "Orchestration" heat</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name heat \
--description "Orchestration" orchestration</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
@ -129,8 +129,8 @@ Repeat User Password:
| name | heat |
| type | orchestration |
+-------------+----------------------------------+</computeroutput>
<prompt>$</prompt> <userinput>openstack service create --type cloudformation \
--description "Orchestration" heat-cfn</userinput>
<prompt>$</prompt> <userinput>openstack service create --name heat-cfn \
--description "Orchestration" cloudformation</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+

View File

@ -252,7 +252,7 @@ admin_token = <replaceable>ADMIN_TOKEN</replaceable></programlisting>
<title>Create the Identity service endpoints</title>
<para>In Debian, the Keystone package offers automatic registration of Keystone
in the service catalogue. This is equivalent of running the below commands:</para>
<screen><prompt>#</prompt> <userinput>openstack service create --type identity --description "OpenStack Identity" keystone</userinput>
<screen><prompt>#</prompt> <userinput>openstack service create --name keystone --description "OpenStack Identity" identity</userinput>
<prompt>#</prompt> <userinput>keystone endpoint-create \
--publicurl http://<replaceable>controller</replaceable>:5000/v2.0 \
--internalurl http://<replaceable>controller</replaceable>:5000/v2.0 \

View File

@ -55,9 +55,10 @@
OpenStack environment. Services use this catalog to determine
the other services available in your environment.</para>
<para>Create the service entity for the Identity service:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type identity \
--description "OpenStack Identity" keystone</userinput>
<computeroutput>+-------------+----------------------------------+
<screen><prompt>$</prompt> <userinput>openstack service create \
--name keystone --description "OpenStack Identity" identity</userinput></screen>
<screen><computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | OpenStack Identity |

View File

@ -73,9 +73,9 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>neutron</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type network \
--description "OpenStack Networking" neutron</userinput>
<computeroutput>+-------------+----------------------------------+
<screen><prompt>$</prompt> <userinput>openstack service create --name neutron \
--description "OpenStack Networking" network</userinput></screen>
<screen><computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | OpenStack Networking |

View File

@ -76,9 +76,9 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>nova</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type compute \
--description "OpenStack Compute" nova</userinput>
<computeroutput>+-------------+----------------------------------+
<screen><prompt>$</prompt> <userinput>openstack service create --name nova \
--description "OpenStack Compute" compute</userinput></screen>
<screen><computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | OpenStack Compute |

View File

@ -162,8 +162,8 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>sahara</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type data_processing \
--description "Data processing service" sahara</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name sahara \
--description "Data processing service" data_processing</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+

View File

@ -61,8 +61,8 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>swift</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type object-store \
--description "OpenStack Object Storage" swift</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name swift \
--description "OpenStack Object Storage" object-store</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+

View File

@ -226,8 +226,8 @@ Repeat User Password:
</step>
<step>
<para>Create the <literal>neutron</literal> service entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type database \
--description "OpenStack Database service" trove</userinput>
<screen><prompt>$</prompt> <userinput>openstack service create --name trove \
--description "OpenStack Database service" database</userinput>
<computeroutput>+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+