From 5ff4593cbff65edbc336a29febe838981d2c3c26 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 30 Mar 2014 22:22:21 +0200 Subject: [PATCH] install-guide: keystone minor fixes Fix some nits in the keystone section (spacing, colons...). Explicitely list some commands that were only described. Change-Id: I4d83dab65a598b66a45e245004203c3370be0c89 --- doc/install-guide/section_keystone-install.xml | 14 ++++++++------ doc/install-guide/section_keystone-users.xml | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/install-guide/section_keystone-install.xml b/doc/install-guide/section_keystone-install.xml index e479240d28..d98159a778 100644 --- a/doc/install-guide/section_keystone-install.xml +++ b/doc/install-guide/section_keystone-install.xml @@ -30,7 +30,7 @@ database connection mysql://keystone:KEYSTONE_DBPASS@controller/keystone Edit /etc/keystone/keystone.conf and change - the [database] section. + the [database] section: ... [database] @@ -53,8 +53,9 @@ connection = mysql://keystone:KEYSTONE_DBPASS@By default, the Ubuntu packages create a SQLite database. Delete the keystone.db file created in the /var/lib/keystone/ directory so that it - does not get used by mistake. - + does not get used by mistake: + # rm /var/lib/keystone/keystone.db + Use the password that you set previously to log in as root. Create a keystone database @@ -62,9 +63,10 @@ connection = mysql://keystone:KEYSTONE_DBPASS@$ mysql -u root -p mysql> CREATE DATABASE keystone; mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ -IDENTIFIED BY 'KEYSTONE_DBPASS'; + IDENTIFIED BY 'KEYSTONE_DBPASS'; mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \ -IDENTIFIED BY 'KEYSTONE_DBPASS'; + IDENTIFIED BY 'KEYSTONE_DBPASS'; +mysql> exit Create the database tables for the Identity Service: @@ -180,7 +182,7 @@ admin_token = ADMIN_TOKEN Edit /etc/keystone/keystone.conf and change the [DEFAULT] section, replacing - ADMIN_TOKEN with the results of the command. + ADMIN_TOKEN with the results of the command: [DEFAULT] # A "shared secret" between keystone and other openstack services admin_token = ADMIN_TOKEN diff --git a/doc/install-guide/section_keystone-users.xml b/doc/install-guide/section_keystone-users.xml index 3d4a95d815..c9f57f25af 100644 --- a/doc/install-guide/section_keystone-users.xml +++ b/doc/install-guide/section_keystone-users.xml @@ -13,13 +13,13 @@ in the next section. Typically, you would indicate a user and password to - authenticate with the Identity Service. At this point, however, we - have not created any users, so we have to use the authorization + authenticate with the Identity Service. At this point, however, you + have not created any users, so you have to use the authorization token created in an earlier step, see for further details. You can pass this with the option to the keystone command or set the - OS_SERVICE_TOKEN environment variable. We'll set + OS_SERVICE_TOKEN environment variable. Set OS_SERVICE_TOKEN, as well as OS_SERVICE_ENDPOINT to specify where the Identity Service is running. Replace