12046 Commits

Author SHA1 Message Date
Lance Bragstad
9fccd38d1b Remove unused hints from assignment APIs
The controller is responsible for listing user projects based on role
assignments and would build a hints objects and pass it to the
assignment manager. This is a common pattern used across keystone's
APIs. But, the assignment API never actually passed the hints objects
to the backend implementation.

This commit removes the hints from being passed to the manager for
list_projects_for_user and list_domains_for_user because those
APIs never use the hints object. This should allow us to implement
caching to speed up those calls later.

Change-Id: I9b1c8c30ca6a78dd6e78add7de278e467ceea046
Related-Bug: 1700852
2017-08-09 14:10:45 +00:00
Jenkins
86b4b4a747 Merge "Move url safe naming docs to admin guide" 2017-08-08 02:48:20 +00:00
Jenkins
156fa9389a Merge "Move credential encryption docs to admin-guide" 2017-08-07 21:31:47 +00:00
Jenkins
1ce1d29a53 Merge "Clarify SELinux note in LDAP documentation" 2017-08-07 20:33:34 +00:00
Jenkins
a67fe10b91 Merge "Imported Translations from Zanata" 2017-08-07 20:19:37 +00:00
Jenkins
6b38fd8f66 Merge "Fill in content in User Documentation" 2017-08-07 20:11:53 +00:00
Jenkins
6ffa71cdac Merge "Removed unnecessary setUp() calls from unit tests" 2017-08-07 20:04:12 +00:00
Jenkins
d4793cccc6 Merge "Fix man page builds" 2017-08-07 19:35:21 +00:00
OpenStack Proposal Bot
75acc806f2 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib63e1d53ef3895e051d9c3cd3dd5b86cb98fe346
2017-08-07 07:37:31 +00:00
Colleen Murphy
e08e7ccad7 Fix man page builds
Since Sphinx 1.6 released, pbr's build_sphinx extension has been broken.
Specifically, pbr's [build_sphinx]/builders option is ignored. Luckily,
sphinx itself ipmlemented the feature but called it just 'builder'[1].
This patch fixes the config setting name and then cleans up a Sphinx
extension inclusion that is now automatically included.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-July/119396.html

Change-Id: I5da6a996ed442524ddb108a890df2d024ee07c4d
2017-08-06 16:05:03 +02:00
Jenkins
9cbd6bc0eb Merge "Remove duplicate sample files" 2017-08-04 19:58:01 +00:00
Samriddhi Jain
e925160634 Fill in content in User Documentation
Added end user specific content from API documentation
to the placeholder created for User Documentation.

Change-Id: I8dbeeabb992a93b8b18df812da983bc6ca434cc5
2017-08-04 22:55:27 +05:30
Jenkins
4e98623571 Merge "Remove policy for self-service password changes" 2017-08-04 16:54:26 +00:00
Colleen Murphy
1623c5d588 Clarify SELinux note in LDAP documentation
The eye-catchy-ness of the Important SELinux notice in the LDAP
integration documentation can cause confusion for users to whom the
notice is not applicable, such as Ubuntu or SUSE users. For them,
SELinux is not enabled by default and they may not even be aware of what
it is for, and so perceive a failure when they try to enable the SELinux
boolean as described in the document. This patch prepends a
clarification that the notice only applies to SELinux users, to
hopefully make it clearer that not being able to follow the directions
is just fine in many cases.

Change-Id: I65a34608f1a51ec923329065b6443bdd525a1ac7
2017-08-04 17:06:56 +02:00
Lance Bragstad
9e5a6d6750 Remove duplicate sample files
The sample files were being rendered in two separate places. This
commit removes one of them and adjusts the references accordingly.
This commit also removes the sample files from the Operator guide
since they have their own dedicated section under configuration/.

Change-Id: I6da0843e2cb9dc7451d97af661a6cb4873eba671
2017-08-04 14:08:48 +00:00
Lance Bragstad
77bf1ad0b8 Remove policy for self-service password changes
The self-service password API was left intentionally
unprotected in a change during the stable/ocata cycle:

  I4d3421c56642cfdbb25cb33b3aaaacbac4c64dd1

The default policy was not removed from the same config and as a
result it was migrated into code during the policy-in-code work.
This isn't necessary since it's not used to protect anything. Policy
should still be enforced on administrative password resets, but that
is done using the `update_user` API.

Change-Id: I431f5ef9d6d5d689a06736640d22997fbddb869c
Closes-Bug: 1705485
2017-08-04 13:56:59 +00:00
zlyqqq
b43b402ca9 Add role_domain_id_request_body in parameters
Now use domain_id_response_body in the request parameters of
creating role, but its required is true. When we create a role,
the domain id is optional.
This patch add role_domain_id_request_body in request parameters.

Change-Id: Ib384f2b074e86691223fbc3d480fbb82a903e209
2017-08-04 15:06:06 +08:00
Jenkins
d31d063412 Merge "Add missing comma to json sample" 2017-08-04 00:04:20 +00:00
Jenkins
a7648fd65f Merge "Make federation documentation consistent" 2017-08-04 00:03:22 +00:00
Doug Hellmann
fffc84db79 use the show-policy directive to show policy settings
Closes-Bug: 1707246

Depends-On: I774b2de5ff59874dfa67811c094735dd74c8083e
Depends-On: Ie836b7a6f3ea7cba1737913b944f36c77f14cfd0
Change-Id: I5ce0931d39b045681ba6d43d7894ae25e6b13146
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-03 13:58:49 +00:00
Jenkins
0cbd421da6 Merge "Remove duplicate configuration sections" 2017-08-03 02:15:12 +00:00
Jenkins
41fd4ca376 Merge "Imported Translations from Zanata" 2017-08-03 00:24:04 +00:00
Jenkins
0d554db265 Merge "Handle auto-generated domains when creating IdPs" 2017-08-03 00:19:19 +00:00
Jenkins
bba90f6157 Merge "Clarify documentation on whitelists and blacklists" 2017-08-03 00:18:27 +00:00
Lance Bragstad
8c05a873a7 Move credential encryption docs to admin-guide
This is part of an effort to consolidate all the content in the
Operator guide into the Administrator guide.

Change-Id: I3431ecbff399bf6ae7620996e4c4cce9bb3489eb
2017-08-02 19:11:51 +00:00
Jenkins
9f03a88fdf Merge "Consolidate LDAP documentation into admin-guide" 2017-08-02 16:58:33 +00:00
Jenkins
68f1043ce2 Merge "Filter users and groups in ldap" 2017-08-02 16:20:57 +00:00
Jenkins
6b145664dd Merge "Add cli/ directory for documentation" 2017-08-02 15:27:50 +00:00
Jenkins
6b8883a996 Merge "Add user/ directory for documentation" 2017-08-02 15:24:34 +00:00
Jenkins
b65157ce3b Merge "Add contributor/ directory for docs" 2017-08-02 15:23:30 +00:00
Lance Bragstad
c1e9c97d33 Consolidate LDAP documentation into admin-guide
This commit merges two documents that were both attempting to
document integrating keystone with LDAP. Instead, we should have a
single document so that it's easier to operators to understand and
find.

Change-Id: I1b1927b498d93f39d57a03b60384de22f07ad2f2
2017-08-02 13:55:41 +00:00
OpenStack Proposal Bot
8914ef1650 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I94376c1a3df51a305a521e1bdfe9567dfdf96fc5
2017-08-02 07:49:09 +00:00
Jenkins
630d9b58fd Merge "Fix ec2tokens validation in v2 after regression in metadata_ref removal" 2017-08-01 22:31:52 +00:00
Lance Bragstad
bd5edb6247 Add cli/ directory for documentation
The specification detailing the great documentation migration
requires a doc/source/cli/ directory be added to the project.
The directory is intended for cli documentation.

This commit add the directory so that we are in compliance with the
specification but doesn't move any content into the directory. It is
instead treated like a placeholder until we can migrate the right
content into the cli guide.

Change-Id: Ida5ffc979d3c596547e9664dce8933d2cf9a4486
Closes-Bug: 1694460
2017-08-01 21:47:32 +00:00
Lance Bragstad
900a00e4b4 Add user/ directory for documentation
The specification detailing the great documentation migration
requires a doc/source/user/ directory be added to the project.
The directory is intended for end user documentation.

This commit add the directory so that we are in compliance with the
specification but doesn't move any content into the directory. It is
instead treated like a placeholder until we can migrate the right
content into the user guide.

Change-Id: I7d9cde958957bff20c7221f37cb0b03b61aa38f9
Partial-Bug: 1694460
2017-08-01 21:44:10 +00:00
Lance Bragstad
429e115686 Add contributor/ directory for docs
The specification detailing the great documentation migration
requires a doc/source/contributor/ directory for all contributor
documentation. Keystone had a directory specifically for this type
of content but it was in doc/source/devref/.

This commit renames devref/ to contributor/ because the term
`contributor` is more inclusive of other community members that
aren't necessarily developers. The specification also requires this
convention for consistency with other projects.

Change-Id: Id6363213dc6ba6946bd272ca5ee67b4604afc5ac
Partial-Bug: 1694460
2017-08-01 21:14:46 +00:00
Gábor Antal
c812f53629 Removed unnecessary setUp() calls from unit tests
TrivialFix

Change-Id: I4d4349f70f58b1bb464fcb9b7adf324991b73530
2017-08-01 18:24:03 +02:00
prashkre
bb2b215b53 Filter users and groups in ldap
All users and groups are required to have a name. Prior to this fix,
Keystone was not properly enforcing this for LDAP users and groups.
Keystone will now ignore users and groups that do not have a value for
the LDAP attribute which Keystone has been configured to use for that
entity's name.

Closes-Bug: #1704205

Change-Id: I424813785b7a355514ef42f1e4c6384b8a78b256
2017-08-01 01:18:40 +05:30
Jenkins
70290e3116 Merge "Fix the documentation sample for OS-EP-FILTER" 2017-07-31 19:37:17 +00:00
Jenkins
6d3f29f016 Merge "Add the step to install apache2 libapache2-mod-wsgi" 2017-07-31 19:37:10 +00:00
Jenkins
e18cb29f92 Merge "A simple fix about explicit unscoped string" 2017-07-31 19:11:37 +00:00
Lance Bragstad
8dd5bcf56d Move url safe naming docs to admin guide
This is part of an effort to consolidate everything from the Operator
guide into the Administrator guide.

Change-Id: I76b0eaee11f5a8d68304a163381c905611edd43b
2017-07-28 21:02:32 +00:00
Jose Castro Leon
820d9d9a84 Fix ec2tokens validation in v2 after regression in metadata_ref removal
Since the last patch in the ocata release that removed the metadata_ref,
the ec2tokens api is broken due to unable to unpack the result of the
authenticate command (4 elements) while expecting to expand it into 5.

Change-Id: I71c4b51444ea9f7a3016b68d7dee9a4747e9c0fd
Closes-Bug: #1691111
Closes-Bug: #1635389
2017-07-28 16:20:53 +02:00
zhiguo.li
b9c0252a4c Add the step to install apache2 libapache2-mod-wsgi
The guide uses the Apache HTTP server with mod_wsgi to serve
identity service, but it did not introduce the step to install
Apache2 and libapache2-mod-wsgi package in this guide. The identity
service will not be started without these two packages.
This patch modify the step 1 in part "Install and configure components"
for installing two packages metioned above.

Change-Id: I8ca55e605f806bdc48f753ab893040d9a76aa93d
Closes-Bug: 1707176
2017-07-28 19:28:58 +08:00
yangweiwei
6e60948c20 Handle auto-generated domains when creating IdPs
When creating an IdP, if a domain was generated for it and a conflict
was raised while effectively creating the IdP in the database, the
auto-generated domain is now cleaned up.

Change-Id: I9b7c3c1fae32b9412f75323a75d9ebe4ad756729
Closes-Bug: #1688188
2017-07-27 20:20:00 +00:00
OpenStack Proposal Bot
80c81ad3c6 Updated from global requirements
Change-Id: Ic299eb548c5ed15b68bb1b8204c32f520e25ed74
2017-07-27 19:11:04 +00:00
Tin Lam
2c3be8a514 Fix the documentation sample for OS-EP-FILTER
The OS-EP-FILTER api-ref request sample is malformed; it is missing a comma
for it to be proper json.  This patchset fixes the issue.

trivial fix

Change-Id: Ia26fc67affde11335a825dcff7063716f09d071b
2017-07-26 22:15:17 -05:00
Jenkins
c3b5d2d77b Merge "In the devstack plugin, restart keystone after modifying conf" 2017-07-26 23:55:10 +00:00
Lance Bragstad
0331a11842 Clarify documentation on whitelists and blacklists
Some references to whitelisting and blacklisting was confusing in the
mapping documentation. This commit attempts to clarify the wording
and purpose for both whitelists and blacklists.

Change-Id: I09f4762f03824acc689600c8561fe99ea113ad9a
Closes-Bug: 1693690
2017-07-26 20:48:19 +00:00
Jenkins
7569c0a6bf Merge "Make the devstack plugin more configurable for federation" 2017-07-26 18:04:43 +00:00