Sync latest cfg from oslo-incubator

Changes include:

  c5984ba Move logging config options into the log module
  7cf016a Fixing the trim for ListOp when reading from config file

The most significant change is that cfg no longer provides logging
config options as these have been moved to the log module which
keystone does not yet use. Define these options in keystone.config
where they are used since pulling in oslo logging isn't appropriate
if we're not going to use it.

Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
Fix bugs with set ldap password.

There is no check that 'name' exists in the keys.

Client update password call expects update_user to return the new user
as do the kvs and sql back ends.

Change-Id: I1b7af9b9225fa06a9404d0a54cd1ef7b6e5cda80
import tools/flakes from oslo

Change-Id: I4b73fa1eb045517bb25932d1a85c7fab8186d251
Generate apache-style common access logs

Taking advantage of this middleware either requires enabling
verbose/debug or utilizing an external logging.conf which configures an
'access' logger.

Example output:

  127.0.0.1 - - [2013-01-29T17:15:02.752214] "GET http://localhost:5000/v3/projects HTTP/1.0" 200 16

This patch also revises etc/logging.conf.sample with some more practical
defaults (e.g. supporting externally-managed log rotations) in addition
to illustrating how to generate an 'access.log' file.

DocImpact

Change-Id: I2a6048fa5fbf8661a6859d9e3a259d4cfa5fc589
Adds png versions of all svg image files. Changes reference.

This should stop complaints about Sphinx not correctly identifying
svg content type while still maintaining an svg version for
maintenance purposes.

Change-Id: If7085e4644562232945efc97d420eeecab85623e
Add --keystone-user/group to keystone-manage pki_setup

If called as root, --keystone-user and --keystone-group can be
used to set the username and group keystone is going to run under.

In that case, pki_setup is going to issue additional os.chown
calls to change ownership of the PK files accordingly.

Fixes LP Bug #1031372

Change-Id: If9250ca9d0d86eebb9ad7c95ade17132ffd5a36c
don't create a new, copied list in get_project_users

also replace other for loops with list iterations

Change-Id: I3d6dc40f108b6f235a6c6d43a867c91845f442cd
Silence routes internal debug logging

Eliminates this spam while running keystone in debug:

  routes.middleware: DEBUG: Initialized with method overriding = True,
  and path info altering = True

Change-Id: I1ff1fb13b4bfea968a2ba8fe194141c98541c6b8
add check for config-dir parameter (bug1101129)

Change-Id: I5cd454cc3c5bf5da9656c05e9a22385ffcd01147
Update .coveragerc

Set up proper source and omit options.

Change-Id: Ia45165a3fa5d073df362b37f8ee5e4fd5e529c21
Implements: blueprint update-coveragerc
Query only attributes strictly required for keystone when using it
with existing LDAP servers

Fixes bug 1102358

Change-Id: I7dd3ba1d66e0400fefb303f50dc84c145717a47e
Tenant update on LDAP breaks if there is no update to apply

Fixes bug 1117362

Change-Id: Ia47f8a7cd38dcaaceafed39cbdd837ba9a67969f
UserApi.update not to require all fields in arg

LDAP backend's UserApi.update required caller to provide all User fields
in an argument while only changed ones are provided there.

Change-Id: Ia8f43efab7580483b9aa5de90f0a66ae544e230f
return 400 Bad Request if invalid params supplied (bug1061738)

return a 400 Bad Request if there are invalid arguments params supplied

Change-Id: I82da8a6db4a2847c8407cd0917b2d71ac9f9ba7a
Relational API links

- Adds a self-relational link to both individual API entities and
  collections.
- Adds null previous/next links to collections to support pagination in
  the future.
- Temporarily disables pagination (fixes bug 1079661), as the client
  doesn't currently support or expect it. We probably need to return all
  results by default unless the client requests a limited resultset
  anyway.
- Expands test coverage for granting roles to users & groups in projects
  & domains.

Change-Id: Ib5d6d39f5e1eb673c3285ef0b98603c5d375de75
Merge "Add --keystone-user/group to keystone-manage pki_setup"
allow unauthenticated connections to an LDAP server

Fixes: bug 1119495

Change-Id: I13cdc212752f212ecf59a6a83f8f32c042ccf6e0
remove unneeded config reloading (it's already done during setUp)

Change-Id: I4341b6c00dfe2354a13bfa4cb2a6ed5d1441f4cb
Merge "UserApi.update not to require all fields in arg"
Merge "return 400 Bad Request if invalid params supplied (bug1061738)"