From fc1ef13b5a7bebf4e18485fe889f0d1baf139547 Mon Sep 17 00:00:00 2001 From: annegentle Date: Wed, 28 Sep 2011 13:09:27 -0500 Subject: [PATCH] Changes Identity pom file to build from that so that the Disqus comments go to the os-identitydevguide shortname Change-Id: Ib512aefacc6bd4210fc3ae6c598c74ff3b948724 --- doc/pom.xml | 3 +- .../gettingstartedkeystone.xml | 81 ++++++++++++++----- .../os-identity-starter-guide.xml | 4 +- 3 files changed, 62 insertions(+), 26 deletions(-) diff --git a/doc/pom.xml b/doc/pom.xml index 8949914420..f67346c467 100644 --- a/doc/pom.xml +++ b/doc/pom.xml @@ -179,8 +179,7 @@ openstack-compute-admin/os-compute-adminguide.xml, openstack-object-storage-admin/os-objectstorage-adminguide.xml, - openstack-image-service-admin/os-image-adminguide.xml, - openstack-identity-service-starter/os-identity-starter-guide.xml + openstack-image-service-admin/os-image-adminguide.xml reviewer openstack diff --git a/doc/src/docbkx/openstack-identity-service-starter/gettingstartedkeystone.xml b/doc/src/docbkx/openstack-identity-service-starter/gettingstartedkeystone.xml index c90fca3ad3..8da363eec0 100644 --- a/doc/src/docbkx/openstack-identity-service-starter/gettingstartedkeystone.xml +++ b/doc/src/docbkx/openstack-identity-service-starter/gettingstartedkeystone.xml @@ -103,19 +103,19 @@ To install the latest version of the Identity Service (Keystone) from the Github repositories, following the following instructions. - - For Debian/Ubuntu, add the Keystone PPA to your sources.lst: - - - $> sudo add-apt-repository ppa:keystone-core/trunk $> - sudo apt-get update - + + + For Debian/Ubuntu, add the Keystone PPA to your sources.lst: + + $> sudo add-apt-repository ppa:keystone-core/trunk + $> sudo apt-get update + Install Keystone: - $> sudo apt-get install keystone + $> sudo apt-get install keystone @@ -134,18 +134,18 @@ Untar the source tarball: - + $> tar -xzf <FILE> - + Change into the package directory and build/install: - + $> cd keystone-<RELEASE> $> sudo python setup.py install - + @@ -164,9 +164,9 @@ Install Git and build dependencies: - $> sudo apt-get install git python-eventlet python-routes python-greenlet + $> sudo apt-get install git python-eventlet python-routes python-greenlet swift $> sudo apt-get install python-argparse python-sqlalchemy python-wsgiref - python-pastedeploy + python-pastedeploy @@ -176,18 +176,19 @@ to get the project initially setup): - - $> git checkout master $> git pull origin master - + + $> git checkout master + $> git pull origin master + Install Keystone: - + $> sudo python setup.py install - + @@ -230,9 +231,45 @@ configuration files in the examples/paste directory. Restart the glance-api service and also ensure your environment contains OS_AUTH credentials which you can set up with tools/nova_to_os_env.sh provided by the Glance project. - In Object Storage, the settings are held in /etc/swift/proxy-server.conf in a - [filter:keystone] section. Use swift-init main start to restart Object - Storage with the new configuration. + + In Object Storage, the settings are held in /etc/swift/proxy-server.conf in a + [filter:keystone] section. Use swift-init main start to restart Object + Storage with the new configuration. Here's an example + /etc/swift/proxy-server.conf: + + + + [DEFAULT] +bind_port = 8888 +user = <user> + +[pipeline:main] +pipeline = catch_errors cache keystone proxy-server + +[app:proxy-server] +use = egg:swift#proxy +account_autocreate = true + +[filter:keystone] +use = egg:keystone#tokenauth +auth_protocol = http +auth_host = 127.0.0.1 +auth_port = 5001 +admin_token = 999888777666 +delay_auth_decision = 0 +service_protocol = http +service_host = 127.0.0.1 +service_port = 8100 +service_pass = dTpw + +[filter:cache] +use = egg:swift#memcache +set log_name = cache + +[filter:catch_errors] +use = egg:swift#catch_errors + + diff --git a/doc/src/docbkx/openstack-identity-service-starter/os-identity-starter-guide.xml b/doc/src/docbkx/openstack-identity-service-starter/os-identity-starter-guide.xml index 532e1dd0bf..85396b7aed 100644 --- a/doc/src/docbkx/openstack-identity-service-starter/os-identity-starter-guide.xml +++ b/doc/src/docbkx/openstack-identity-service-starter/os-identity-starter-guide.xml @@ -5,7 +5,7 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" version="5.0" - > + xml:id="openstack-identity-starter-guide"> OpenStack Identity Starter Guide @@ -24,7 +24,7 @@ trunk OpenStack Identity Service - 2011-09-22 + 2011-09-28 Copyright details are filled in by the template.