refine the sahara installation guide

From the Juno version, we have the OpenStack client to identify
the component.So wo can substitute OpenStack client for keystone
to identify the sahara.
I checked the OpenStackClient commands guide:
https://wiki.openstack.org/wiki/OpenStackClient/Commands#endpoint
The OpenStackClient API version is:API v2.0

The OpenStackClient command is:
os endpoint create
    --publicurl <public-url>
    [--adminurl <admin-url>]
    [--internalurl <internal-url>]
    [--region <endpoint-region>]
    <service>

amd the keystone command is:
keystone endpoint-create
    [--region <endpoint-region>]
    [--service_id <service-id>]
    [--publicurl <public-url>]
    [--adminurl <admin-url>]
    [--internalurl <internal-url>]

Change-Id: I5ac44f009275fc855647bbc626cdf7f7a7026c92
This commit is contained in:
Fang Jinxing 2015-11-09 06:32:35 +00:00
parent 4c1c5a03c6
commit d7f3fbaad6

View File

@ -182,13 +182,16 @@ installations of sahara.
.. sourcecode:: console .. sourcecode:: console
keystone service-create --name sahara --type data-processing \ openstack service create --name sahara --description \
--description "Sahara Data Processing" "Sahara Data Processing" data-processing
keystone endpoint-create --service sahara --region RegionOne \ openstack endpoint create --region RegionOne \
--publicurl "http://10.0.0.2:8386/v1.1/%(tenant_id)s" \ --publicurl http://10.0.0.2:8386/v1.1/%\(tenant_id\)s \
--adminurl "http://10.0.0.2:8386/v1.1/%(tenant_id)s" \ --adminurl http://10.0.0.2:8386/v1.1/%\(tenant_id\)s \
--internalurl "http://10.0.0.2:8386/v1.1/%(tenant_id)s" --internalurl http://10.0.0.2:8386/v1.1/%\(tenant_id\)s \
data-processing
.. note::
You must have installed the openstack-client package.
.. ..
5. For more information on configuring sahara with the OpenStack Dashboard 5. For more information on configuring sahara with the OpenStack Dashboard