From 591552a7860c36860b51a804ed10cc299d557495 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 15 Apr 2015 16:23:23 +0200 Subject: [PATCH] Install Guide: Fix openstack service create invocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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 Co-Authored-By: Flávio Ramalho Change-Id: I72f89defd7f55ce2822b5b511280f40196361f68 --- doc/install-guide/section_ceilometer-controller.xml | 4 ++-- doc/install-guide/section_cinder-controller-node.xml | 8 ++++---- doc/install-guide/section_glance-install.xml | 6 +++--- doc/install-guide/section_heat-install.xml | 8 ++++---- doc/install-guide/section_keystone-install.xml | 2 +- doc/install-guide/section_keystone-services.xml | 7 ++++--- doc/install-guide/section_neutron-controller-node.xml | 6 +++--- doc/install-guide/section_nova-controller-install.xml | 6 +++--- doc/install-guide/section_sahara-install.xml | 4 ++-- doc/install-guide/section_swift-controller-node.xml | 4 ++-- doc/install-guide/section_trove-install.xml | 4 ++-- 11 files changed, 30 insertions(+), 29 deletions(-) diff --git a/doc/install-guide/section_ceilometer-controller.xml b/doc/install-guide/section_ceilometer-controller.xml index 170b6cd80e..0ab67ffa2d 100644 --- a/doc/install-guide/section_ceilometer-controller.xml +++ b/doc/install-guide/section_ceilometer-controller.xml @@ -153,8 +153,8 @@ Repeat User Password: Create the ceilometer service entity: - $ openstack service create --type metering \ - --description "Telemetry" ceilometer + $ openstack service create --name ceilometer \ + --description "Telemetry" metering +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ diff --git a/doc/install-guide/section_cinder-controller-node.xml b/doc/install-guide/section_cinder-controller-node.xml index bf68e18877..d8942fc0f0 100644 --- a/doc/install-guide/section_cinder-controller-node.xml +++ b/doc/install-guide/section_cinder-controller-node.xml @@ -76,8 +76,8 @@ Repeat User Password: Create the cinder service entities: - $ openstack service create --type volume \ - --description "OpenStack Block Storage" cinder + $ openstack service create --name cinder \ + --description "OpenStack Block Storage" volume +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ @@ -87,8 +87,8 @@ Repeat User Password: | name | cinder | | type | volume | +-------------+----------------------------------+ - $ openstack service create --type volumev2 \ - --description "OpenStack Block Storage" cinderv2 + $ openstack service create --name cinderv2 \ + --description "OpenStack Block Storage" volumev2 +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ diff --git a/doc/install-guide/section_glance-install.xml b/doc/install-guide/section_glance-install.xml index eacb020501..a375f4c098 100644 --- a/doc/install-guide/section_glance-install.xml +++ b/doc/install-guide/section_glance-install.xml @@ -84,9 +84,9 @@ Repeat User Password: Create the glance service entity: - $ openstack service create --type image \ - --description "OpenStack Image service" glance -+-------------+----------------------------------+ + $ openstack service create --name glance \ + --description "OpenStack Image service" image ++-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | OpenStack Image service | diff --git a/doc/install-guide/section_heat-install.xml b/doc/install-guide/section_heat-install.xml index 76827de85e..435ad03260 100644 --- a/doc/install-guide/section_heat-install.xml +++ b/doc/install-guide/section_heat-install.xml @@ -118,8 +118,8 @@ Repeat User Password: Create the heat and heat-cfn service entities: - $ openstack service create --type orchestration \ - --description "Orchestration" heat + $ openstack service create --name heat \ + --description "Orchestration" orchestration +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ @@ -129,8 +129,8 @@ Repeat User Password: | name | heat | | type | orchestration | +-------------+----------------------------------+ -$ openstack service create --type cloudformation \ - --description "Orchestration" heat-cfn +$ openstack service create --name heat-cfn \ + --description "Orchestration" cloudformation +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ diff --git a/doc/install-guide/section_keystone-install.xml b/doc/install-guide/section_keystone-install.xml index c8397cd6cb..19f7b2c000 100644 --- a/doc/install-guide/section_keystone-install.xml +++ b/doc/install-guide/section_keystone-install.xml @@ -252,7 +252,7 @@ admin_token = ADMIN_TOKEN Create the Identity service endpoints In Debian, the Keystone package offers automatic registration of Keystone in the service catalogue. This is equivalent of running the below commands: - # openstack service create --type identity --description "OpenStack Identity" keystone + # openstack service create --name keystone --description "OpenStack Identity" identity # keystone endpoint-create \ --publicurl http://controller:5000/v2.0 \ --internalurl http://controller:5000/v2.0 \ diff --git a/doc/install-guide/section_keystone-services.xml b/doc/install-guide/section_keystone-services.xml index 837a8474ac..8f783bdedd 100644 --- a/doc/install-guide/section_keystone-services.xml +++ b/doc/install-guide/section_keystone-services.xml @@ -55,9 +55,10 @@ OpenStack environment. Services use this catalog to determine the other services available in your environment. Create the service entity for the Identity service: - $ openstack service create --type identity \ - --description "OpenStack Identity" keystone -+-------------+----------------------------------+ + + $ openstack service create \ + --name keystone --description "OpenStack Identity" identity ++-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | OpenStack Identity | diff --git a/doc/install-guide/section_neutron-controller-node.xml b/doc/install-guide/section_neutron-controller-node.xml index bc9a661a67..be34583fea 100644 --- a/doc/install-guide/section_neutron-controller-node.xml +++ b/doc/install-guide/section_neutron-controller-node.xml @@ -73,9 +73,9 @@ Repeat User Password: Create the neutron service entity: - $ openstack service create --type network \ - --description "OpenStack Networking" neutron -+-------------+----------------------------------+ + $ openstack service create --name neutron \ + --description "OpenStack Networking" network ++-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | OpenStack Networking | diff --git a/doc/install-guide/section_nova-controller-install.xml b/doc/install-guide/section_nova-controller-install.xml index 4bd2639135..0e41debbe4 100644 --- a/doc/install-guide/section_nova-controller-install.xml +++ b/doc/install-guide/section_nova-controller-install.xml @@ -76,9 +76,9 @@ Repeat User Password: Create the nova service entity: -$ openstack service create --type compute \ - --description "OpenStack Compute" nova -+-------------+----------------------------------+ +$ openstack service create --name nova \ + --description "OpenStack Compute" compute ++-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | OpenStack Compute | diff --git a/doc/install-guide/section_sahara-install.xml b/doc/install-guide/section_sahara-install.xml index 49518cad8f..064e33be13 100644 --- a/doc/install-guide/section_sahara-install.xml +++ b/doc/install-guide/section_sahara-install.xml @@ -162,8 +162,8 @@ Repeat User Password: Create the sahara service entity: - $ openstack service create --type data_processing \ - --description "Data processing service" sahara + $ openstack service create --name sahara \ + --description "Data processing service" data_processing +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ diff --git a/doc/install-guide/section_swift-controller-node.xml b/doc/install-guide/section_swift-controller-node.xml index 62e0f10f66..aa215c22d0 100644 --- a/doc/install-guide/section_swift-controller-node.xml +++ b/doc/install-guide/section_swift-controller-node.xml @@ -61,8 +61,8 @@ Repeat User Password: Create the swift service entity: - $ openstack service create --type object-store \ - --description "OpenStack Object Storage" swift + $ openstack service create --name swift \ + --description "OpenStack Object Storage" object-store +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ diff --git a/doc/install-guide/section_trove-install.xml b/doc/install-guide/section_trove-install.xml index b2ffbdc62d..3ae91dd2f4 100644 --- a/doc/install-guide/section_trove-install.xml +++ b/doc/install-guide/section_trove-install.xml @@ -226,8 +226,8 @@ Repeat User Password: Create the neutron service entity: - $ openstack service create --type database \ - --description "OpenStack Database service" trove + $ openstack service create --name trove \ + --description "OpenStack Database service" database +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+