Stub out swift log configuration during testing

 * s3_token and swift_auth depend on swift.common.utils.get_logger,
   which configures a syslog handler in an OS X-incompatible way.
   This change ensures that get_logger is stubbed out for the
   swift middleware tests to allow the Keystone test suite to execute
   successfully under OS X.
 * Addresses bug 974583

Change-Id: Ibdb665d1ea65c13ef792767ad66251857629a702
Import latest openstack-common

Main change is the MultiStrOpt support which pulls in the new
iniparser module. See lp#955308.

Change-Id: I1358f09038113873e60343f00a95229002b58c1f
cleanup no_meta user in live LDAP test

Fixes Bug 980277

Change-Id: I03b56183e35794b8c9ef28bcfb26f7c101b48f66
Make run_tests.py non-executable

Change-Id: I2707d2476e15cc503de0613ffb225811b262a7ac
Fix expired token tests

Fixes bug #983800

The expiration timestamps are expressed in UTC time, so ensure:

 1) The timestamp of the token created by the test is UTC time (i.e.
    utcnow() vs now())

 2) The expiration check in the dummy memcache client properly
    accounts for UTC (i.e. utctimetuple() vs timetuple())

Change-Id: Ie7356456f79ab5a8070a79771bb7d210b1cedd47
Merge "cleanup no_meta user in live LDAP test"
Merge "Stub out swift log configuration during testing"
Merge "Import latest openstack-common"
Merge "Fix expired token tests"
Merge "Make run_tests.py non-executable"
Non-nullable User, Tenant, Role names (bug 987121)

Change-Id: I100732e52fe0478280d647fc25ca82f9c14dc64c
Avoid ValueError in 12.04 essex pkg (bug 988523)

Change-Id: Icafe3e877efcfb326b607462de493739b2395365
Misnamed exception attribute (bug 991936)

- exception.NotImplemented 'action' should have been 'title'
- Automated test coverage of exceptions to catch this in the future

Change-Id: I238e6bc8426ae009f570f0a04d2ea28501ae23fc
Auto generate AUTHORS file for keystone component.

Bug: 976267

Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.

This commit fixes the problem.

* AUTHORS
  Remove this file.

* .gitignore
  Add AUTHORS file.

* keystone/openstack/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.

* setup.py
  Import the new method.
  local_sdist.run(): Generate AUTHORS file before creating the
  package.

* tests/test_authors.py
  Remove this test case.

Change-Id: Id3ca59382e417d054d14f7735f30595bfbe2df48
Exit on error in a S3 way.

- Fixes bug 973433.
- Add more debug logging.
- Test xml output of s3_token.

Change-Id: Ibd0714bb6eeb75cfde614043fc7d062f584d0714
Merge "Auto generate AUTHORS file for keystone component."
Fix argument name referred in the document.

Bug: 966749.

* doc/sources/configuration.rst
  (user-create): The optional argument name is tenant_id.

Change-Id: Ibb10c608779c0df74f22c50b99a7ffc3900f1782
Switch to 1000 rounds during unit tests

Fixes bug 992918

passlib 1.6 introduced a minimum number of rounds for sha512_crypt. As
a result, increase the rounds used during testing to the minimum

Change-Id: Ic0c635e92b4f13180a047904a6efa490ab599012
Update tests to run servers on 127.0.0.1

Currently tests run servers on 0.0.0.0 which is not needed.

Change-Id: Ie6eb21df35329236047d24a2e95ba3a5a4293843
cleanup dependent data upon user/tenant deletion

fixes bug 974199
fixes bug 973243

* upon deletion of tenant also delete user tenant relations
* upon deletion of tenant or user also delete corresponding metadata
* add foreign keys in metadata to ensure consistency

see also: https://bugs.launchpad.net/keystone/+bug/959294/comments/16

Change-Id: I264714fe82b727e3e0f5273bcb781a580a3f3826