summaryrefslogtreecommitdiffstats
path: root/meta-openstack/Documentation
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@WindRiver.com>2014-09-19 15:51:17 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-09-22 11:46:42 -0400
commitbf51fa4f053a6aecb816ed7b4dcca64e9bd5b9b3 (patch)
tree02bdfd5520ab5c73183b2428baa42d686bb71d77 /meta-openstack/Documentation
parentdcfac869bea8a501177c8419c8fd11c3ed03b21e (diff)
downloadmeta-cloud-services-bf51fa4f053a6aecb816ed7b4dcca64e9bd5b9b3.tar.gz
python-keystone: Add apache vhost server.
This patch set configures an apache vhost server on port 8081 which will serve as the main authentication method and documents the change in README.keystone. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Diffstat (limited to 'meta-openstack/Documentation')
-rw-r--r--meta-openstack/Documentation/README.keystone83
1 files changed, 83 insertions, 0 deletions
diff --git a/meta-openstack/Documentation/README.keystone b/meta-openstack/Documentation/README.keystone
new file mode 100644
index 0000000..f8da890
--- /dev/null
+++ b/meta-openstack/Documentation/README.keystone
@@ -0,0 +1,83 @@
1Summary
2=======
3
4This document is not intended to provide detail of how Keystone in general
5works, but rather it highlights how Keystone is integrated/configured into
6meta-cloud-services and also describes how Keystone is tested to ensure that
7Keystone Verification and Benchmarking components are working correctly.
8
9
10Keystone Overview
11==============
12
13Keystone provides authentication, authorization and service discovery
14mechanisms via HTTP primarily for use by projects in the OpenStack family. It
15is most commonly deployed as an HTTP interface to existing identity systems,
16such as LDAP.
17
18Keystone Deployment
19================
20
21Keystone is configured to use existing deployment (by using deployment
22configuration file /etc/keystone/keystone{.conf,paste.ini}). In addition to the
23default configuration files, meta-cloud-services installs a custom httpd file
24apache configuration as /etc/apache2/conf.d/wsgi-keystone.conf along with
25adding the 8081 port to the default /etc/apache2/httpd.conf. This file
26starts a vhost on port 8081 which will be the replacement for the default server
27running on port 35357 and 5000 in the future.
28
29
30Keystone Verification
31==================
32
33By default, Keystone verification performs the following steps:
34
35* git clone tempest source from upstream
36* setup virtualenv for this tempest
37* setup testr environment with virtualenv created above
38* create tempest.conf for this tempest
39* use testr and subunit.run module to run tempest
40
41However, meta-cloud-services already includes tempest which is also
42configured/modified to have low failure/error testcases, therefore it's desired
43to use this tempest (without using virtualenv) instead of letting Rally to
44download tempest and running it on virtualenv.
45
46
47The option "existing_tempest_config" in /etc/keystone/keystone.conf can be used
48to configure Keystone to either use the existing tempest or to download from
49upstream.
50
51If the option "existing_tempest_config" is not set then Keystone follows the
52default path. If "existing_tempest_config" is set to absolute path of tempest
53config folder (which contains tempest "tools" and .testr.conf, e.g.
54/etc/tempest) then Rally uses this existing tempest. By default,
55"existing_tempest_config" is set to "/etc/tempest/".
56
57
58Build Configuration Options
59===========================
60
61To have Keystone and tempest included in final built image, include layer
62meta-openstack-controller-test-config into Controller build and
63layer meta-openstack-compute-test-config into Compute build.
64
65
66Keystone Built-In Unit Tests
67=========================
68
69This section describes how to run Keystone built-in unit
70tests which are located at:
71
72 /usr/lib64/python2.7/site-packages/keystone/tests
73
74To run Keystone built-in unit test with nosetests:
75
76 $ cd /usr/lib64/python2.7/site-packages/keystone/tests
77 $ nosetests -v
78
79
80References
81==========
82
83https://wiki.openstack.org/wiki/Keystone