Ignore flake issues in build/ directory

Change-Id: I812333d62ed08c97b83626c3b309f5614d51582d
Assignment to reserved built-in symbol: dir

In file keystone/common/openssl.py,
BaseCertificateConfigure::_make_dirs(), built-in symbol dir was
re-assignment as local vars, it is easily lead to a misunderstanding, so
rename them.
This patch do not modify any functionality.

Change-Id: I70d6bdc9362577b46b3500de49603f296b6b72e1
Move some logic from update() to BaseLdap

Move immutable attributes' check to BaseLdap

bp refactor-ldap-driver

Change-Id: If321cd689dab68a397f61216de569200a42ada5d
Move affirm_unique() in create() to BaseLdap

bp refactor-ldap-driver

Change-Id: I88cc07857f709f106c998b5d49c7772a6d012f9c
Add test test_deleting_project_delete_grants

Check that grants are not accessible when we are deleting a project.

Partial-Bug: #1208675
Change-Id: Id4160007f41c04571e8c2b1e13d7c878ac654895
Store hash of access as primary key for ec2 type.

In current v3 credential implementation when
a new ec2 credential is created we store it with
new credential id in the backend. This fix is provided
to store the hash of access key id as credential
id when a new ec2 v3 credential is created.

Fixes Bug #1185582

Change-Id: I0ad9aaa3282b101adb6228582f0d24349232ce18
Remove kwargs from manager calls / general cleanup

Cleaned up keystone.trust.controllers.TrustV3.delete_trust to use
the proper "delete_tokens" method from the token_api.

Added "delete_trust" reference method to keystone.trust.core.Driver.

Named-argument cleanup:

This patch removes some use of kwargs from manager calls where not
required. Dogpile.cache (the targeted caching library) does not
support kwargs out of the box with its cache-key-generator. This
change allows us to support the default cache-key-generator.

Cleanup done on a couple calls in keystone.assignment.core to remove
un-needed named-arguments.

Added a note on keystone.token.core.Driver indicating that
list_tokens should be considered a private method only used by
"delete_tokens" and if treated as such, should not need caching.

In keystone.common.controller.V3Controller._get_domain_id_for_request
fixed named-argument call to token_api.get_token

In keystone.contrib.oauth1.controllers.OAuthControllerV3.authorize
fixed named-argument call to token_api.get_token

partial-blueprint: caching-layer-for-driver-calls
Change-Id: I1fddb4e2db9a24a9ebc544aabe63a3b1fdcfc374
Refactor Token Providers for better version interfaces

Cleanup Token Providers to provider a cleaner interface for the
various token versions. Removal of named-arguments/kwargs is
for future caching capabilities.  Due to overhead and problems
with both generating consistent cache keys and invalidates
moving to an "arg" model is better for the manager calls.

Change-Id: I45764ade8bf726c57bf44dba783175bfac5032b4
blueprint: caching-layer-for-driver-calls
remove refs to keystone.common.logging

A couple references to this module were missed, and a few new ones were
created while it was in the process of being deprecated. This change
removes outstanding references to the module.

blueprint unified-logging-in-keystone

Change-Id: I4cc7614b3f74caaec9dfa100202d9d6db4ebfc36
Merge "Refactor Token Providers for better version interfaces"
Merge "Remove kwargs from manager calls / general cleanup"
Merge "remove refs to keystone.common.logging"
Merge "Store hash of access as primary key for ec2 type."
Merge "Add test test_deleting_project_delete_grants"
Merge "Ignore flake issues in build/ directory"
Merge "Move some logic from update() to BaseLdap"
Merge "Move affirm_unique() in create() to BaseLdap"
Merge "Assignment to reserved built-in symbol: dir"