11002 Commits

Author SHA1 Message Date
Eric Brown
2d540f5cea Remove reference to future removal of saml
The saml2 auth plugin was already removed in this release (ocata)
and therefore is no longer a need to document that it'll be removed.

The patch that removed the plugin was:
https://review.openstack.org/#/c/374508/

bp removed-as-of-ocata

Change-Id: I19da4726fd83d70e01118ff4bf98802de584f7bb
2016-11-14 17:04:43 -08:00
OpenStack Proposal Bot
3d513daeb3 Updated from global requirements
Change-Id: I4be320de402c5df9de51d9115fdd8a7c5615100b
2016-11-14 15:05:24 +00:00
Jenkins
cdaf2c77d9 Merge "Replace tenant with project for keystone catalog" 2016-11-14 14:30:29 +00:00
Jenkins
474b762561 Merge "Deprecate endpoint_filter.sql backend" 2016-11-14 14:17:26 +00:00
Eric Brown
a74be79b05 Updates to the architecture doc
The text in the architecture doc is somewhat out-of-date for the
current function level of keystone. Edits include:

* Removed references to domain, project, role information in LDAP.
* Removed capitialization of keystone objects
* Some line wrap adjustments
* Updated link on oslo.policy location

Change-Id: Iefcaf00c8844613b10a2cf77a820db7fe0934742
2016-11-10 14:14:34 -08:00
Jenkins
498d700c65 Merge "Create unit tests for endpoint policy drivers" 2016-11-10 13:45:23 +00:00
Jenkins
dacd57f972 Merge "Request cache should not update context" 2016-11-10 07:59:51 +00:00
Jenkins
3047689ce3 Merge "Support nested groups in Active Directory" 2016-11-10 00:30:01 +00:00
Jenkins
d9fba39a73 Merge "Doctor ldap check fix for config files" 2016-11-10 00:27:07 +00:00
Jenkins
67c5dcf0e9 Merge "Change cfg.set_defaults into cors.set_defaults" 2016-11-09 22:52:25 +00:00
Jenkins
e70631edda Merge "Add healthcheck middleware to pipelines" 2016-11-09 22:52:13 +00:00
Jenkins
1b5bbf3340 Merge "[api-ref] Fix couple of issues on OS-INHERIT API" 2016-11-09 20:50:31 +00:00
Adam Young
e8e56dc7c1 Support nested groups in Active Directory
Active Directory has a very specific mechanism to
handle nested groups.  LDAP queries need to look like this:

"(&(objectClass=group)
   (member=member:1.2.840.113556.1.4.1941:=CN=nwalnut,OU=Users,DC=EXAMPLE,DC=COM))"

If a deployment is using nested groups, three queries need to be
modified to support it:

  - list users in a group
  - list groups for a user
  - check if a user is in a group

Since all three are necessary, a single configuration value ensures
that the change is synchronized across all three calls.

Closed-Bug: #1638603
Change-Id: Ia66f81f86d7c43fbc5ba7f18ada91c77d047f7a2
2016-11-09 20:34:33 +00:00
Jenkins
56e34b6327 Merge "Using assertIsNone(...) instead of assertIs(None, ...)" 2016-11-09 20:20:14 +00:00
Jenkins
63a4294851 Merge "Document OS-SIMPLE-CERT Routes" 2016-11-09 20:05:05 +00:00
Jenkins
74d4b58368 Merge "Switch fernet to be the default token provider." 2016-11-09 20:04:20 +00:00
Jesse Keating
eeac2cb6d1 Add healthcheck middleware to pipelines
This introduces the oslo healt check middleware
http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html
into the pipelines. This middleware is useful for load balancers and
http servers, which can use it to validate that the keystone services are
operational. This middleware is being used in other services such as
glance and magnum. This patch provides it for keystone, in an effort to
spread the usage across all major projects.

This is one less item that operators will have to patch locally.

DocImpact

Change-Id: I19e4fc8f6c6a227068ba7191c1e9c453fc08f061
2016-11-09 19:39:41 +00:00
Brant Knudson
6ed37d2410 Request cache should not update context
The request context is kind of important. It has info like the
request cache and auth info for the request.

The request cache should not be modifying the request context. The
code here makes it look like the request cache needs to update the
thread's request context but it actually never does change it since
even if it creates a new RequestContext the new instance becomes
the new thread request context.

Change-Id: Ib824648fe7cb6b3614e03f7d2570fbbfc0c3a88d
2016-11-09 19:33:10 +03:00
ZhongShengping
32affefada Change cfg.set_defaults into cors.set_defaults
Cors has added set_deafults method, just use it.
Related link:
https://review.openstack.org/#/c/285368/

Change-Id: Iff525532bb4f8f53d1c9e00b873b4066b0315178
2016-11-09 15:14:06 +08:00
OpenStack Proposal Bot
470d92f520 Updated from global requirements
Change-Id: I06cce53c8f72392ee26ae8881e2743aa7d4a57cc
2016-11-09 04:16:39 +00:00
OpenStack Proposal Bot
6589dbd5af Updated from global requirements
Change-Id: Ie9e0b75a96d352961815aabdd9607feb12946b7a
2016-11-08 21:23:14 +00:00
Jenkins
12ff43cbf1 Merge "Doc warning for keystone db migration" 2016-11-08 20:16:55 +00:00
Richard Avelar
52f58eb4df Doc warning for keystone db migration
The new keystone upgrade features (keystone-manage db_sync --expand)
requires for MySQL deployments that the keystone user is granted SUPER
privilege or that set global log_bin_trust function_creators=1; is run.
Adding a warning message to notify reader.

Change-Id: I78738a335d14c6ad824c348a7385bb1ee8ad75bf
Closes-Bug: 1638368
2016-11-08 16:34:56 +00:00
Richard Avelar
08e9ba9b96 Wording error in upgrading documentation
small doc word fix

Change-Id: I3795aa0b7f1b3069d37be019abba55303c9d2e0a
2016-11-07 19:08:21 +00:00
OpenStack Proposal Bot
e28dddda02 Updated from global requirements
Change-Id: I8e571bf99ae69db1a88136f15b982e8cc2978221
2016-11-06 01:59:44 +00:00
Steve Martinelli
52c2a810bd fix credentials backend tests
looks like commit [1] accidentally renamed the file to something
nonsense. rename it correctly this time

[1] I2e6fde1696e44f1b9456737f7c643e757cd3b758

Change-Id: I6b32bb34482cdb65f344dc5c0e8ba531c2bda6af
Closes-Bug: 1639131
2016-11-04 09:08:31 -05:00
Jenkins
c75f83699e Merge "Allow running expand & migrate at the same time" 2016-11-03 23:09:44 +00:00
Jenkins
c79ba92122 Merge "Add test cases for passing "None" as a hint" 2016-11-03 22:54:21 +00:00
Matt Fischer
18bb515909 Allow running expand & migrate at the same time
This will make automation with tools such as puppet easier. Since
keystone-manage will enforce the ordering of expand and migrate.

Change-Id: Ic69b642cfd7b04ca012f1c91781c7f6335d0b747
2016-11-03 21:23:41 +00:00
nitin-29-gupta
c5bcc34c94 Add test cases for passing "None" as a hint
Adds tests for the use of hints in the credentials API.

Related-Bug: 1614154
Change-Id: I2e6fde1696e44f1b9456737f7c643e757cd3b758
2016-11-03 21:21:35 +00:00
Jenkins
16fdfc9f8c Merge "Fix test_revoke to run all tests after pki removal" 2016-11-02 21:16:37 +00:00
Richard Avelar
2d56415161 Fix test_revoke to run all tests after pki removal
The recent change [1] caused the removal of a certain class that
looked specific to PKI and PKIz testing and implementation, however,
actually was being used to test all supported token providers. This
caused a chunk of tests to simply not run at all and therefore be
overlooked. This change adds support for both UUID and Fernet so that
all tests are being run once again and for all available token
providers.

[1]: Icf1ebced44a675c88fb66a6c0431208ff5181574
Change-Id: I5365e2ed74ea55377729d0910cc2892d2bb8889c
2016-11-02 18:33:33 +00:00
OpenStack Proposal Bot
1b799943db Updated from global requirements
Change-Id: I52096766a9c07eab147db2557ca09cfff60b3e0a
2016-11-02 15:32:48 +00:00
Lance Bragstad
57cc1e332f Switch fernet to be the default token provider.
Make Fernet the default token provider in keystone.

Co-Authored-By: Raildo Mascena <raildo@lsd.ufcg.edu.br>
Co-Authored-By: Adam Young <ayoung@redhat.com>

Depends-On: I3b819ae8d2924f3bece03902e05d1a8c5e5923f1
Depends-On: I7bb6c2fa1fe83b70cb147e6ca4c68bea3028706b
Depends-On: Ia51f28a70ae099f1ec93851d271db8556aced836
Change-Id: I29b22be75525aed5c50b34dc343af36c9b94c18c
Closes-Bug: 1561054
2016-11-02 00:33:24 +00:00
Jenkins
142e9e760a Merge "Remove support for PKI and PKIz tokens" 2016-11-01 23:54:47 +00:00
Steve Martinelli
8a66ef6354 Remove support for PKI and PKIz tokens
This is the first step of several to remove PKI token support in
keystone. A large issue in removing PKI support is support for the
revocation list must be maintained.

This patch removes support for the token format, it's surrounding tests
and examples that are generated. Additionally, some wording has been
changed around the CLI and config options to make the distinction
between keys and certs used for PKI tokens and those used for getting
the revocation list (a list of tokens that are revoked, which is signed).

Future patches will:

- Remove the keystone-manage commands for generating certs

- Modify the revocation list (at /auth/tokens/OS-PKI/revoked) to return
a 403 if pki is not configured (instead of raising a 500). We cannot
remove the API as that would break an API contract.

- Options to configure PKI will be marked as deprecated

- If PKI is configured a normal signed list will be returned (same
behavior as today)

- Follow up patch to keystonemiddleware will make sure auth_token does
not rely on the revocation api at all.

Related-Bug: 1626778
Related-Bug: 1626779

Co-Authored-By: Boris Bobrov <bbobrov@mirantis.com>
bp removed-as-of-ocata
Change-Id: Icf1ebced44a675c88fb66a6c0431208ff5181574
2016-11-01 22:05:01 +00:00
Jenkins
b6439c725e Merge "Doc the difference between memcache and cache" 2016-11-01 21:17:30 +00:00
Jenkins
59d620bf5f Merge "Additional logging when authenticating" 2016-11-01 21:12:18 +00:00
Lance Bragstad
1a1c625acc Doc the difference between memcache and cache
Our documentation doesn't really provide a clear explanation for the
difference between ``[memcache]`` and ``[cache]`` in keystone's
configuration file.

This commit attempts to makes this easier to understand for
deployers.

Change-Id: I77460220ef779fcdb16363a6da90898619afe467
2016-11-01 17:19:29 +00:00
Gage Hugo
cda7688f89 Doctor ldap check fix for config files
This was a leftover fix from a comment on:

https://review.openstack.org/#/c/361435

to filter out non-config files from being checked if their
contents were invalid.

Change-Id: I2b5222fa3fa8141f580f610b0e7d2d6721ae97fc
2016-11-01 11:24:28 -05:00
Jenkins
748eb41904 Merge "Add release note for fernet tokens" 2016-11-01 16:21:59 +00:00
Rudolf Vriend
e4989793ab Additional logging when authenticating
Log some authentication issues that were not logged
before, but are still useful to be aware of when
diagnosing authentication issues.

Related-Bug #1595513

Change-Id: Ifca425eadba21cc8d4ff6f6e5c2376af6a1ddbe5
2016-11-01 13:52:27 +00:00
Samuel Pilla
2e70ecd8ce Document OS-SIMPLE-CERT Routes
Document certificates and OS-SIMPLE-CERT routes.

Change-Id: I528c3eb27a5226a4da17a3c3aa2ca3ccc65a5a39
Closes-Bug: #1626779
2016-11-01 08:26:00 -04:00
Jenkins
9c2a48829d Merge "Document v2 Revoked Token Route" 2016-11-01 12:12:20 +00:00
Jenkins
59f5054e25 Merge "Add bindep environment to tox" 2016-11-01 12:11:30 +00:00
Jenkins
0ce7c615b4 Merge "Adds warning when no domain configs were uploaded" 2016-11-01 11:50:16 +00:00
Jenkins
6a2efdffc1 Merge "Fix broken links in the docs" 2016-11-01 10:05:10 +00:00
Jenkins
e36f05763e Merge "log.error use _ of i18n" 2016-11-01 07:32:40 +00:00
Jenkins
10f76c34db Merge "Doctor check for LDAP domain specific configs" 2016-11-01 00:28:24 +00:00
Jenkins
d8400fe79c Merge "Faster id mapping lookup" 2016-11-01 00:08:36 +00:00