Skip to content

Commit

Permalink
add keystone configuration instructions to manual install docs
Browse files Browse the repository at this point in the history
Change-Id: I50aed064580a715b741e4ecf6bb7e74bdcdfd514
Fixes: bug 1104062
  • Loading branch information
Gordon Chung committed Mar 14, 2013
1 parent e5f6889 commit 6bb6787
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/source/install/manual.rst
Expand Up @@ -342,3 +342,34 @@ Installing the API Server
may want to run this step using a screen session or other tool for
maintaining a long-running program in the background.


Configuring keystone to work with API
=====================================

.. index::
double: installing; configure keystone

.. note::
The API server needs to be able to talk to keystone to authenticate.

1. Create a service for ceilometer in keystone::

$ keystone service-create --name=ceilometer \
--type=metering \
--description="Ceilometer Service"

2. Create an endpoint in keystone for ceilometer::

$ keystone endpoint-create --region RegionOne \
--service_id $CEILOMETER_SERVICE \
--publicurl "http://$SERVICE_HOST:8777/" \
--adminurl "http://$SERVICE_HOST:8777/" \
--internalurl "http://$SERVICE_HOST:8777/"

.. note::

CEILOMETER_SERVICE is the id of the service created by the first command
and SERVICE_HOST is the host where the Ceilometer API is running. The
default port value for ceilometer API is 8777. If the port value
has been customized, adjust accordingly.

0 comments on commit 6bb6787

Please sign in to comment.