12062 Commits

Author SHA1 Message Date
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
Jenkins
2c9d3eb674 Merge "Move performance documentation to admin-guide" 2017-07-26 18:04:33 +00:00
Jenkins
995e013e16 Merge "Added new subsections to developer docs" 2017-07-26 17:58:19 +00:00
Kristi Nikolla
e5666f92d5 In the devstack plugin, restart keystone after modifying conf
Keystone was complaining about not being able to load the
remote_id_attribute in the mapped group [0]. Since moving
to uwsgi, restarting keystone is done separately from apache,
so the configuration file wasn't being reloaded. Added a line
to restart the keystone service.

Also added a line to restart apache after configuration.

[0] http://paste.openstack.org/show/616498/

Change-Id: I4e7c04241c5058152529f8c95963be6f05f51a51
Closes-Bug: 1700847
2017-07-26 13:57:44 -04:00
Lance Bragstad
b614a0ce8a Move performance documentation to admin-guide
Now that the admin-guide lives within keystone, it should be home to
our performance documentation.

Change-Id: I522cf238a977e9cead384fcf993300e7f8c2a395
2017-07-26 14:59:24 +00:00
Lance Bragstad
64165b8609 Consolidate certificate docs to admin-guide
The admin-guide and configuration.rst both had separate sections
that detailed certificate documentation. Much of the documentation
was exactly the same. Now that keystone owns it's own admin-guide,
we can remove the duplication and simplify our docs.

Change-Id: I387902723637174c259ff421083a2933942f07fd
2017-07-25 22:03:50 +00:00
Jenkins
c44a9eaaeb Merge "Move auth plugin development doc to contrib guide" 2017-07-25 19:57:53 +00:00
Lance Bragstad
e2ebb3c41a Move auth plugin development doc to contrib guide
The operator documentation had a section specific to developing
authentication plugins. This type of documentation is better suited
to the contributor guide. This commit moves it there.

Change-Id: I74337e8b3d8c9031fa3cb7fb709cc41042161bb9
2017-07-25 14:58:39 +00:00
Jenkins
bd3c5e50e0 Merge "Added index.rst in each sub-directory" 2017-07-25 02:08:35 +00:00
Gage Hugo
c32a1723e8 Add missing comma to json sample
This change adds a missing comma to the
project-update-response sample json in order to have valid
json within the example response.

Change-Id: If4a70a5f99f2d3ac5f812272b2138f95adefe9ff
2017-07-24 17:09:20 -05:00
Jenkins
7c3acf34fa Merge "Enable sphinx todo extension" 2017-07-24 16:00:45 +00:00
Jenkins
89e415487f Merge "Fix wording of configuration help text" 2017-07-24 15:39:33 +00:00
Jenkins
1b5db573ae Merge "Add a hacking rule for string interpolation at logging" 2017-07-24 15:39:25 +00:00
Jenkins
22c272f80c Merge "Optional request parameters should be not required" 2017-07-24 15:30:28 +00:00
Samriddhi Jain
7dbbe60512 Added new subsections to developer docs
Merged the basic docs, keystone architecture and
external developers related docs to create separate
sections for the three.

Change-Id: I23b4ac709e0040e5580c451f4c7f54dc194a5529
2017-07-23 00:40:29 -10:00
Jenkins
adfb7ebcd1 Merge "Move development environment setup to contributor docs" 2017-07-23 06:07:20 +00:00
Jenkins
847997aa02 Merge "remove default rule" 2017-07-22 01:34:14 +00:00
Jenkins
68ee9ea5c4 Merge "fix assert_admin" 2017-07-22 01:33:29 +00:00
Lance Bragstad
eabdf7126d Fix wording of configuration help text
This fixes a minor grammatical error in our federation configuration
help text.

Change-Id: Ie564eb499e5f3a6eec3d9a4e9e4bd5e57e69a92b
2017-07-20 17:58:26 +00:00
Samriddhi Jain
da5c9d7bd4 Added index.rst in each sub-directory
The doc migration spec requires each sub directory
to have an index page which could be directly
referenced in the main openstack documentation under
the topic specific pages, along with other projects.

This patch validates that and adds new files where
they are absent.

Change-Id: I180952857db758482fd767aa9f5cf6343fec9c42
2017-07-20 22:24:22 +08:00
zlyqqq
4b81676d27 Optional request parameters should be not required
Change-Id: I617ba531f9c151c8042103d7345eda2c43d81e5c
2017-07-20 19:15:21 +08:00
OpenStack Proposal Bot
025e844fc4 Updated from global requirements
Change-Id: I3bb80478055cb5aa0d1063da382123413b10b1de
2017-07-18 19:35:14 +00:00
Lance Bragstad
0c55bae655 Move development environment setup to contributor docs
The development environment setup docs were duplicated in two
separate places. This commit remove it from the "Getting Started"
section and into the contributor guide.

Change-Id: If243fd9896be286f9d4c80139eb3cb86600f0052
2017-07-18 16:31:00 +00:00
Jenkins
239bc3627c Merge "Reorganised api-ref index page" 2017-07-18 15:53:36 +00:00
Jenkins
9d0b12f64f Merge "Reorganised developer documentation" 2017-07-18 11:44:48 +00:00
Jenkins
0e1b9cc22b Merge "Expanded the best practices subsection in devdocs" 2017-07-18 11:43:25 +00:00
Jenkins
5a9be6e00e Merge "Merged the caching subsections in admin docs" 2017-07-18 11:39:28 +00:00
ForestLee
d02a66d6bf Add a hacking rule for string interpolation at logging
String interpolation should be delayed to be handled by
the logging code, rather than being done at the point
of the logging call.
See the oslo i18n guideline
* https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#adding-variables-to-log-messages
and
* https://github.com/openstack-dev/hacking/blob/master/hacking/checks/other.py#L39
Closes-Bug: #1596829

Change-Id: Iba231be2476dcbeeb0edd76d6a921e549d183758
2017-07-18 14:11:28 +08:00
Jenkins
c2296adb8e Merge "Added new docs to admin section" 2017-07-17 21:33:06 +00:00
Kristi Nikolla
1394b0c6b1 Make the devstack plugin more configurable for federation
* In shibboleth2.xml make the ENTITY_ID and METADATA_URL
  configurable.
* Copy over an attribute map that includes support for
  keystone as an idp attributes.

bp devstack-plugin

Change-Id: I40157b00e5d084dcc6bb5b1f4be7d9cd3a8a0fc7
2017-07-17 16:38:08 -04:00
Samriddhi Jain
a764b90f74 Reorganised developer documentation
For a better readability and flow, reorganised and
renamed various sections in developer documentation.

Change-Id: I23ac014701e0ca0984e23ff07192cfdf4d8fd4dd
2017-07-18 00:14:41 +05:30
Jenkins
cca14dd884 Merge "Update info about logging in admin guide" 2017-07-17 16:41:11 +00:00
Gage Hugo
bc18bbbc5f Enable sphinx todo extension
In a previous change [0] when warning-is-error was
added, the sphinx todo extension was causing errors
with duplicate registration.

However with the recent changes between pbr and
sphinx, this extension no longer throws a duplicate
error when using warning-is-error and we can add
it back in.

[0] https://review.openstack.org/#/c/439674/

Change-Id: Ie28d87dfca8ee5cbea28616b32c471d848c50759
2017-07-17 11:03:29 -05:00
Lance Bragstad
2c6458c355 Remove duplicate configuration sections
Keystone nows has it's own configuration guide, which means we no
longer need to maintain a separate configuration reference in the
operator guide.

Change-Id: Iadfb90db9f5f23798d57a442e372d35519332a49
2017-07-17 15:04:28 +00:00
Samriddhi Jain
196fd88c4a Expanded the best practices subsection in devdocs
As a part of reorganisation of developer docs, removed the
best practices documentation and made the subsections in it
as overall sections. More renaming and reorganisation will
be addressed in the following patches.

Change-Id: I21bf8fe3855fd1d441ec3dba342babc90516714d
2017-07-17 12:28:16 +05:30
Samriddhi Jain
dcc9d5ce28 Added new docs to admin section
Apart from the project related docs, these two docs
also need to be added as per the specs.
Change-Id: I81e536a7394ec6935434da296f99686d407e1608
2017-07-17 11:48:42 +05:30