syncing run_tests to match tox

Change-Id: Ide81b1ea9230ceb2ad463d4f253eb7021fc683da
Stop using cfg's internal implementation details

The fact that a cfg opt register using register_opt() is available via
the command line is actually a bug (see bug #1082279).

Also, using the _cli_values attribute is clearly poking into private
implementation details.

Fix both issues by registering the opt using register_cli_opt() and
accessing its value the normal way.

Change-Id: If170dcd96daae5b4c3d7cdebed914df417c2209b
Imported Translations from Transifex

Change-Id: I2cb4f8bd3891b474413eef11aae62188b358d359
Fixes typo in keystone setup doc

fixes bug 1083391

A one character change to fix a typo in setup doc, reported
by a user :s

Change-Id: I4fefec089c9ded4b773f4b3641e30162a4faa2f8
Merge "Fixes typo in keystone setup doc"
normalize identity

modify tables by adding columns, and modify entities
by adding attributes for password, description and enabled

update tests to deal with change from 'False' and 'True' to the
python values False and True

Added a Text type from SQL Alchemy

Bug 1070351
Bug 1023544

Change-Id: I066c788b5d08a8f42a9b5412ea9e29e4fe9ba205
Merge "normalize identity"
Ensure token expiration is maintained (bug 1079216)

Change-Id: I95853ec36e9c4cd937cfac7e08b648e830f9efd0
split identities module into logical parts
remove unneeded imports from core

Change-Id: I02fc2439cc115878d8081e052faf9ff96d20f6ec
Validate password type (bug 1081861)

Raise keystone.exception.ValidationError when password type was not string

Change-Id: Ib7538806777db0fe3a3cf9f22bf06a1d505c232f
check the redirected path on the request, not the response

The request object's path changes when it gets redirected. This
behaviour is in tune with the latest WebOb code as well as the
old. The response environ defaults to None in WebOb >= 1.2b1
http://docs.webob.org/en/latest/news.html#b1

Change-Id: I557563ce5407a8ef1b5dae680e456e589285be25
Merge "check the redirected path on the request, not the response"
Added documentation for the external auth support

This covers given authentication using REMOTE_USER and also the way to
implement custom auth with WSGI middleware.

DocImpact
blueprint: pluggable-identity-authentication-handlers
Change-Id: Idbac8c38d1f0be1febbbc8056c929bada6bbb07e
Bug 1075090 -- Fixing log messages in python source code to support internationalization.

Change-Id: I6b50abaa82effad8feaaac8d85086ca8b5d42590
use keystone test and change config during setUp

Also fixes this traceback which I keep getting on devstack:

ERROR: test_create_certs (tests.test_cert_setup.CertSetupTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/stack/keystone/tests/test_cert_setup.py", line 52, in tearDown
    shutil.rmtree(rootdir(SSLDIR))
  File "/usr/lib/python2.7/shutil.py", line 237, in rmtree
    onerror(os.listdir, path, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 235, in rmtree
    names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/opt/stack/keystone/tests/ssl/'

Fixes bug 1086812

Change-Id: Iba10822aaf1284549d610bb1172df03ffc48f363
Only 'import *' from 'core' modules

- Renamed identity.controllers.* and identity.routers.* since they
  now occopy unique namespaces (thanks ayoung!)
- Moved catalog and policy controllers into their own respective modules

Change-Id: Ib9e277355e0eac15d4d218785c816b718b493b5b
Port to argparse based cfg

Sync the following changes from oslo-incubator:

 3557d84 Fix ListOpt to trim whitespace
 01ab910 Fix set_default() with boolean CLI options
 af18eaa Improve cfg's argparse sub-parsers support
 f21e1d9 Fix regression with cfg CLI arguments
 ceb4aa7 Fix broken --help with CommonConfigOpts
 5e9503b Hide the GroupAttr conf and group attributes
 b6d24bb updating sphinx documentation
 403509e Don't reference argparse._StoreAction
 e17deb8 Fix minor coding style issue
 0c29e1d Remove ConfigCliParser class
 5b9cb41 Add support for positional arguments
 dbc72a6 Use stock argparse behaviour for optional args
 768a147 Use stock argparse --usage behaviour
 ac180b9 Use stock argparse --version behaviour
 0787e38 Remove add_option() method
 5afead0 Completely remove cfg's disable_interspersed_args()
 5f564b2 argparse support for cfg
 d7b6397 Add a missing comma in a docstring.
 aca1805 cfg: fix required if option has a dash

The main API change affecting keystone is that CONF() no longer returns
unparsed arguments. The keystone-manage command is updated to use
argparse sub-parsers to achieve the same effect.

Change-Id: Ie8972ce851f1247d8710e9e0611bb3e2f843cb45
Merge "use keystone test and change config during setUp"
Merge "Only 'import *' from 'core' modules"
Merge "Bug 1075090 -- Fixing log messages in python source code to support internationalization."