10976 Commits

Author SHA1 Message Date
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
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
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
Dave Chen
707b023630 Clarifying on the remove of build_auth_context middleware
Keystone just remove the check of admin token from
`build_auth_context` middleware, not the middleware itself.

bp removed-as-of-ocata
Change-Id: I9aa7a4dafb7f9a3333832d81923e4f11390dad14
2016-10-27 16:45:12 +08:00
jolie
2870deb933 log.error use _ of i18n
log.error msg should be translated with _ of i18n

Change-Id: I2fb8249c0f5c0460f3f3f61a2dde516e775667da
Closes-Bug:#1635162
2016-10-25 10:35:43 +08:00
Gage
fd6445ee05 Doctor check for LDAP domain specific configs
Added multiple checks for domain specific LDAP configurations
using file-based configurations:

- Set enabled & valid directory
- Filenames are in the correct format
- Parse values in each file

Change-Id: I47375088635d7b6634e2c8683772dc4f2ad11a93
Closes-Bug: #1604971
2016-10-22 20:03:19 -05:00
OpenStack Proposal Bot
b8435cc152 Updated from global requirements
Change-Id: Ib83632b8112ef5caea285301f5f96b5451d81000
2016-10-22 01:20:06 +00:00
Jenkins
827de44a22 Merge "Validate mapping exists when creating/updating a protocol" 2016-10-21 03:55:42 +00:00
OpenStack Proposal Bot
53f104fb5c Updated from global requirements
Change-Id: If1038bc2cd460d5f6d3dc9e792d12609c685c929
2016-10-21 00:43:27 +00:00
Ronald De Rose
de8fbcf9a0 Validate mapping exists when creating/updating a protocol
This patch validates that a mapping exists when adding or updating
a federation protocol.

Change-Id: I996f94d26eb0f2c679542ba13a03bbaa4442486a
Closes-Bug: #1571878
2016-10-20 19:12:04 +00:00