From 6bb6787c12bfbd8d35174aab8f1b62cb0d4d19a2 Mon Sep 17 00:00:00 2001 From: Gordon Chung Date: Thu, 14 Mar 2013 15:21:56 -0400 Subject: [PATCH] add keystone configuration instructions to manual install docs Change-Id: I50aed064580a715b741e4ecf6bb7e74bdcdfd514 Fixes: bug 1104062 --- doc/source/install/manual.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/doc/source/install/manual.rst b/doc/source/install/manual.rst index 785bc4be9..7634d8360 100644 --- a/doc/source/install/manual.rst +++ b/doc/source/install/manual.rst @@ -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. +