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> <step>
<para>Create the <literal>ceilometer</literal> service <para>Create the <literal>ceilometer</literal> service
entity:</para> entity:</para>
<screen><prompt>$</prompt> <userinput>openstack service create --type metering \ <screen><prompt>$</prompt> <userinput>openstack service create --name ceilometer \
--description "Telemetry" ceilometer</userinput> --description "Telemetry" metering</userinput>
<computeroutput>+-------------+----------------------------------+ <computeroutput>+-------------+----------------------------------+
| Field | Value | | Field | Value |
+-------------+----------------------------------+ +-------------+----------------------------------+

View File

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

View File

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

View File

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

View File

@ -252,7 +252,7 @@ admin_token = <replaceable>ADMIN_TOKEN</replaceable></programlisting>
<title>Create the Identity service endpoints</title> <title>Create the Identity service endpoints</title>
<para>In Debian, the Keystone package offers automatic registration of Keystone <para>In Debian, the Keystone package offers automatic registration of Keystone
in the service catalogue. This is equivalent of running the below commands:</para> 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 \ <prompt>#</prompt> <userinput>keystone endpoint-create \
--publicurl http://<replaceable>controller</replaceable>:5000/v2.0 \ --publicurl http://<replaceable>controller</replaceable>:5000/v2.0 \
--internalurl 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 OpenStack environment. Services use this catalog to determine
the other services available in your environment.</para> the other services available in your environment.</para>
<para>Create the service entity for the Identity service:</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> <screen><prompt>$</prompt> <userinput>openstack service create \
<computeroutput>+-------------+----------------------------------+ --name keystone --description "OpenStack Identity" identity</userinput></screen>
<screen><computeroutput>+-------------+----------------------------------+
| Field | Value | | Field | Value |
+-------------+----------------------------------+ +-------------+----------------------------------+
| description | OpenStack Identity | | description | OpenStack Identity |

View File

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

View File

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

View File

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

View File

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

View File

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