12062 Commits

Author SHA1 Message Date
Samuel de Medeiros Queiroz
455a21e63d Update docs: fernet is the default provider
Co-Authored-By: Samriddhi Jain <j.samriddhi13@gmail.com>
Change-Id: Ia595170b5850be9f0ca9cf8dbbae6d5c2dca78c4
2017-08-10 21:01:59 +05:30
Jenkins
785c114e7a Merge "Add description for relationship links in api-ref" 2017-08-10 10:49:31 +00:00
Jenkins
d5ed4a7c04 Merge "Remove unused hints from assignment APIs" 2017-08-10 02:28:45 +00:00
Gage Hugo
6c8ea57210 Add description for relationship links in api-ref
This adds a section within the index file that describes what a
relationship link is and what it is used for in terms of each
operation within keystone. There will be a relationships section
in both v3 and v3-ext.

This should help clarify any confusion that may arise when a user is
viewing the api-ref about what the relationship links are.

Change-Id: I9c6b7959ed6ea682c565c515af0cf509b6a64e5d
Closes-Bug: #1674676
2017-08-09 20:59:55 +00:00
Jenkins
6167850d12 Merge "Consolidate certificate docs to admin-guide" 2017-08-09 14:12:09 +00:00
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
2fa4169b60 Merge "Make an error state message more explicit" 2017-08-09 12:50:41 +00:00
Jenkins
12a698a087 Merge "Update URL in README.rst" 2017-08-09 12:43:08 +00:00
Jenkins
f6602dc02c Merge "Fill in content in CLI Documentation" 2017-08-08 23:08:50 +00:00
Jenkins
4973bfa34e Merge "Except forbidden when clearing default project IDs" 2017-08-08 23:00:17 +00:00
Morgan Fainberg
ba953bec38 Make an error state message more explicit
Make the error state message more explicit when the admin_token_auth
middleware is still in the paste-ini. This is an error, the operator
must remove the elements from their keystone paste ini or the deletion
of the code (in Queens release) will result keystone to fail to run.

This is an error in the config. If the operator is using the default
paste-ini form keystone, this error should not occur in Pike. If
the paste-ini is managed via CMS (e.g. Ansible) it is likely the
config must be changed.

Change-Id: Id40a7161574c879aa5c948b94173308a03d4c240
2017-08-08 14:53:20 -07:00
Jenkins
de5efb2348 Merge "Document required type mapping attribute" 2017-08-08 21:01:25 +00:00
Samriddhi Jain
c326ae0417 Fill in content in CLI Documentation
Added keystone-manage documentation from man pages
to the placeholder created for CLI Documentation.

Change-Id: I0e259c76d96c6479a6165c535bc49c032b2f41da
2017-08-08 21:58:50 +05:30
Lance Bragstad
b068d71b59 Except forbidden when clearing default project IDs
The identity backend registers a callback that listens for when a
project is deleted. When it receives a notification, it uses the
project ID send in the notification and removes all references to it
from the identity backend, where users might have it referenced in
their `default_project_id` attribute. The original fix for this did
not account for LDAP backends being read-only. This caused an issue
where DELETE /v3/projects/{project_id} actually caused an HTTP 403
Forbidden exception because the LDAP backend wasn't writeable,
despite that project actually being deleted.

This change makes the identity API manager handle the exception
and tests it specifically for LDAP, or read-only, backends.

Change-Id: I16f4fcb289dad2fe752f3188476329c95cf777c9
Closes-Bug: 1705081
2017-08-08 14:49:13 +00:00
rajat29
54d59cbea7 Update URL in README.rst
Change-Id: I759356fa7b17a1a1166f2fe2833fe0e28e9c4b06
2017-08-08 12:57:56 +05:30
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
Colleen Murphy
d10908caa9 Document required type mapping attribute
In order for a federated user to be mapped to a local user that exists
in the identity backend, the user object in the local mapping rule must
have the property "type": "local" set, in addition to having a keystone
domain provided. This was probably not the original intention of the
local user mapping spec[1], but this is how it ended up being
implemented. We could choose to change the behavior of the code, but
it has been around long enough that it is possible that deployments are
depending on this behavior, and moreover making rules explicit rather
than implicit reduces the risk of bugs and mistakes.

This patch updates the api-ref documentation and the standard federation
documentation to include the "type" property when mapping to local
users. In addition, since we now have two keywords called "local" that
mean somewhat different things, we expand the context of some of the
mapping examples so that both the rule name "local" and the value
"local" of the attribute "type" appear in the example, for clarity.

Change-Id: Ib35e57e33903de14f9cac1f919c32dfe923ef884
Closes-bug: #1673157
2017-08-07 18:02:56 +02: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