10985 Commits

Author SHA1 Message Date
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
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
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
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
Jenkins
a693a2a2e7 Merge "Add api-ref /auth/tokens/OS-PKI/revoked (v3)" 2016-10-31 22:01:52 +00:00
Samuel Pilla
c70baa0a7a Document v2 Revoked Token Route
Adds documentation for /v2.0/tokens/revoked in /api-ref.

Patch for v3: https://review.openstack.org/#/c/390904

Change-Id: I2a09eba3484299a63b30d936e5677a9e1d922c04
Partial-Bug: #1626778
2016-10-31 21:45:35 +00:00
Tin Lam
095ed9187b Add api-ref /auth/tokens/OS-PKI/revoked (v3)
The v3 endpoint documentation /v3/auth/tokens/OS-PKI/revoked is missing
in /api-ref.  This patch set adds the documentation for v3.
A separate patch set will be submitted for v2.

Change-Id: I3db3356d24cc8885012756016a90a0996fcf14f5
Partial-Bug: #1626778
2016-10-31 20:05:00 +00:00
Jenkins
df8bc8e22e Merge "Don't deprecate the LDAP property which is still needed" 2016-10-31 19:48:09 +00:00
Jenkins
8bbee80657 Merge "Clarifying on the remove of build_auth_context middleware" 2016-10-31 19:37:29 +00:00
Jenkins
c6137b456d Merge "Add structure for Devstack plugin" 2016-10-31 16:40:33 +00:00
Jenkins
4ef175926d Merge "Create default role as a part of bootstrap" 2016-10-31 16:27:10 +00:00
Boris Bobrov
731a766ef3 Fix broken links in the docs
Change-Id: If2f462a240485e4c1b904fc76d572f069d3f3df2
2016-10-31 17:18:26 +03:00
Kristi Nikolla
75e8cd1538 Add structure for Devstack plugin
This review creates the structure for the Devstack plugin and
prints to the console to ensure its execution in the gate.

Follow-up reviews will do more useful stuff like setting up
the environment for our functional testing (ldap, federation).

Change-Id: I820ae355ae8f3183fee2b8207e3c17e8bd10dc17
2016-10-31 10:03:16 -04:00
Jeremy Liu
a4fdb40527 Add bindep environment to tox
This is helpful for listing any missing system requirements [1].

[1] http://docs.openstack.org/infra/manual/drivers.html#package-requirements

Change-Id: I54e3955ff0befae35eb1aada478023fa00afc5e7
2016-10-29 14:57:23 +00:00
Jeremy Liu
e49a95ff6e Pass a request to controllers instead of a context
Some 'context' have not been changed to 'request',
this patch fix that.

Change-Id: I30c97c0be4141767543e04f6a954d158d2fb26e6
2016-10-29 21:19:08 +08:00
Adam Young
357bb561b8 Create default role as a part of bootstrap
Closes-Bug #1635306

Change-Id: Ib9b7fd3695799766c91e2fbeaaa9015c575b2829
2016-10-27 18:12:49 +02:00
OpenStack Proposal Bot
093d14fa91 Updated from global requirements
Change-Id: I30c64105d961e50569c62acac6604752dde14e43
2016-10-27 12:14:58 +00:00
Dave Chen
339d6a6197 Don't deprecate the LDAP property which is still needed
`user_attribute_ignore` or `group_attribute_ignore` are both needed
by identity ldap backend to judge whether a specific attribute could
be returned for read user or group operations.

Closes-Bug: #1637135
Change-Id: If623e1e4d3c827d00f17203652f33b74ac138d62
2016-10-27 17:23:36 +08:00