Pass on arguments on Base.get_session

This change makes it so that the arguments for the session
creation function get_session() get passed on when it calls the
function to create the session.

Change-Id: I2f889ab36bd3aa3bf4441a13eb2b610b54349cbb
Don't use deprecated BaseException.message

When running the unit tests, I'd get a warning message:

 /opt/stack/keystone/tests/test_exception.py:151: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

We shouldn't be using deprecated functions.

This change makes it so the test doesn't use the deprecated member.

Also, test_unicode_message wasn't a test for security error
formatting so moved it to ExceptionTestCase.

Change-Id: I088bf94433baf0f00d3ff8ca63e5f74e9d300cd0
Sync install_venv_common from oslo

Change-Id: I9ecacefeb772af7efe0345c3b2162295c4999cdd
Add unittest for keystone.identity.backends.sql Models

This change introduces the unit testing of the SQL models against
their expected schema.

Fixes bug 1196855

Change-Id: I3939e474aa6e8e5549b1d89725e988dd056400d9
wsgi.BaseApplication and wsgi.Router factories should use **kwargs

Also removed wrong references to nova in docstrings.

This is related with bug 1190978

Change-Id: I1b945596d4ebe39d03069b590b7f1a444eaef72f
Regenerate example PKI after change of defaults

In https://review.openstack.org/#/c/31374/ the PKI defaults
were changed but the example PKI not updated. Update it now.

Change-Id: Ie65f27ab586e05a3c43a589499c115b56e734e07
Python 3.x compatible use of print

Use print in a style that looks as a print
function to Python 3.x.

Change-Id: I3c7a4e7a1b9a519cc1c369a9ec6a1e3da1211394
Use InnoDB for MySQL

This change adds a migration to convert any non-InnoDB tables to
InnoDB.

On some systems, the default engine is MyISAM, which doesn't
support features used by Keystone (foreign keys).

The approach is the same as what's used in Nova. A test is added
to ensure that all tables use InnoDB after migration. The test
passes when all the tables are mysql_engine='InnoDB'. This is
accomplished by adding a new migration that migrates all the
tables that aren't InnoDB to InnoDB.

Fixes bug 1191110.

Change-Id: I220f7642f5468c5cf4194f248210f90ff983b6e5
Move temporary test files into tests/tmp

Add a new folder tests/tmp and move all temporary test artefacts like
sqlite dbs into the folder. This has a number of advantages:

- clean up .gitignore and tests folder.
- common/sql/util.py files didn't really belong in common as they were
  test only.
- by doing ``sudo mount -t tmpfs -o size=16M tmpfs tests/tmp; sudo chown
  $USER: tests/tmp`` tests speed up about 3x (ext4; credit ayoung's blog).

Change-Id: I9b02a5273dd27db963e9a26085b7456f4c5f6a41
Change domain component value to org from com

Fixes Bug1200241

Changes variable value in keystone doc to proper a domain component and make it
consistent.

Change-Id: I0a9ac381d2da14c957df5aa50cb8f9dfadade1ac
Imported Translations from Transifex

Change-Id: I4db62367802c9b2e8953ce5affd04c9ac20e7527
Add crypto dependency

blueprint key-distribution-server
Change-Id: I5d025460ec75dd37a0fa0610c521ab5b49687745
Sync-up crypto from oslo-incubator

blueprint key-distribution-server
Change-Id: Id57f25d4d0bb609046276cfb4df43bd3d29b4f23
Merge "Use InnoDB for MySQL"
Merge "Move temporary test files into tests/tmp"
Merge "Add crypto dependency"
Merge "Sync install_venv_common from oslo"
Add version so that pre-release versioning works

As a server project, keystone should list a version number in setup.cfg
so that the version numbers products in daily tarballs list the
pre-release alpha designation.

Change-Id: I1aff86b0890f2d215d00b0c1f19cca3798ae88ec
Merge "Pass on arguments on Base.get_session"
Merge "Imported Translations from Transifex"