Commit Graph

11985 Commits

Author SHA1 Message Date
Tony Breeds 61e1fb8fba Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I50a0cdcf2d038ff4f397e06c5bf3bd0c50a293c5
2017-09-12 15:40:10 -06:00
Jenkins bd3c5e50e0 Merge "Added index.rst in each sub-directory" 2017-07-25 02:08:35 +00: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
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
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
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
Jenkins 33b0ec1397 Merge "Move bootstrapping documentation to admin-guide" 2017-07-16 10:33:49 +00:00
Jenkins 52bebba3e7 Merge "[install] Clarify the paths of the rc files" 2017-07-15 23:24:54 +00:00
Lance Bragstad a393792028 Move bootstrapping documentation to admin-guide
The operator documentation had two sections that described
bootstrapping keystone. This is better suited for the admin-guide
and this commit moves it there.

Change-Id: Ibca2bc3e439ca6e26d8e4ead13ed101fd9010f12
2017-07-15 20:04:57 +00:00
OpenStack Proposal Bot 4172893a5d Updated from global requirements
Change-Id: Ic82aba8fccf07930897dd51220185423cacbf3ea
2017-07-14 23:03:13 +00:00
Jenkins cf409e5dd3 Merge "Stop using deprecated 'message' attribute in Exception" 2017-07-14 22:53:23 +00:00
Lance Bragstad 5303ef6e88 Add a release note for bug 1687593
A fix was merged for bug 1687593 but we forgot to add a release note.

Change-Id: Ib8571d155ca526b0b4fb536ceff7c3b5752281c6
2017-07-13 22:43:44 +00:00
Samriddhi Jain dac0e0572e Reorganised api-ref index page
Currently in the keystone API documentation page located at,
https://developer.openstack.org/api-ref/identity/index.html
all the sections and sub-sections appear at the same depth.
This makes the ordering very untidy and confusing.

This patch reorganises the appearance of sections and
sub-sections at the index page.

Change-Id: I55ae0102236805591e653c153618dec2af510c63
2017-07-13 19:40:07 +05:30
Jenkins b3fc06c9ef Merge "Move import down to correct group" 2017-07-13 09:03:46 +00:00
Jenkins a43d5a6893 Merge "Move trust to DocumentedRuleDefault" 2017-07-13 01:15:17 +00:00
Jenkins 7e6eca7929 Merge "Replaced policy.json with policy.yaml" 2017-07-13 01:10:02 +00:00
Jenkins 367360d583 Merge "Validate rolling upgrade is run in order" 2017-07-12 20:15:27 +00:00
Matthew Edmonds fbec857384 remove default rule
The default rule no longer applies with the move of policy into code
so this change removes it.

In previous releases, the default rule was used by operators
customizing policy and not wanting to specify every rule in their
policy.json. But with the move of policy into code, all checks that
the code is going to make are defined in code, so there should never
be an occasion for the default rule to be checked. Leaving it defined
would confuse operators since it can no longer be used the way it was
used before.

Change-Id: Idafe1c906f1eb188200eab7af3eae8eb86c8154a
Closes-Bug: #1703392
2017-07-12 14:26:51 -04:00
Samriddhi Jain 4bbc505e71 Merged the caching subsections in admin docs
Currently there are two subsections named caching layer in
the admin docs. This commit merges the information in the
two and removes the duplicate docs.

Change-Id: I0f8a89c0eccc2ad6078b4d21dae274df3fc9da18
2017-07-12 20:53:33 +05:30
Anthony Washington 8f09c9cf0b Move trust to DocumentedRuleDefault
A new policy class was introduced that requires
additional parameters when defining policy objects.

This patch switches our trust policy object to
the policy.DocumentedRuleDefault and fills the
required policy parameters as needed.

Implements: bp policy-docs

Change-Id: I7d4bab14ff257ede59a1b49088e16842e5b59a64
2017-07-12 11:09:51 +00:00
Samriddhi Jain 57e06bd1e9 Improved the keystone federation image
The image migrated as a part of openstack-manuals is
a little pixelated and blurred. This commit replaces
the image with a higher resolution one.

Also a .svg version of this file is updated. The file
is not used as such in the docs but is useful if
someone wants to make changes to the png image, which
can be generated from the .svg file.

Change-Id: I56b863974adb5642f47e7561aa70bc582c85485f
2017-07-12 13:31:54 +05:30
Jenkins 9b3d99ea24 Merge "fix identity:get_identity_providers typo" 2017-07-12 05:56:00 +00:00
wingwj 0a90e39cad [install] Clarify the paths of the rc files
Add explicit statement about the rc files' paths
in the installation guide.

Change-Id: Ib652a231ce0c1760630119aa34aa30106d26a20d
Closes-Bug: #1696264
2017-07-12 13:55:59 +08:00
Jenkins f18c699be9 Merge "Added configuration options using oslo.config" 2017-07-12 00:28:52 +00:00
Jenkins 445d53023c Merge "Added configuration references to documentation" 2017-07-12 00:28:05 +00:00
Matthew Edmonds b7119637a0 fix identity:get_identity_providers typo
Changes identity:get_identity_providers policy rule to
identity:get_identity_provider to match what is checked by the code.

Change-Id: I0841abd30fd15c034b5836e42a18938634b509b1
Closes-Bug: #1703369
2017-07-11 17:51:57 -04:00
Matthew Edmonds fa88f68448 fix assert_admin
The assert_admin method was broken by an earlier Pike commit [1]
which caused it to check for the "identity:admin_required" policy
rule (which is not defined) instead of the "admin_required" rule.
This changes check_policy to take the action instead of a function
name, allowing the caller to decide whether they want to prepend
"identity:" or not.

[1] 40c118d6ba

Change-Id: Ief05967361959a0bd194af3e77af198936e4a71f
Closes-Bug: #1703467
2017-07-11 15:13:12 -04:00
Jenkins 0731dab01a Merge "Move upgrade documentation to admin-guide" 2017-07-11 13:35:25 +00:00
Jenkins 77642b088c Merge "Fixing flushing tokens workflow" 2017-07-11 06:19:41 +00:00
Jenkins 2c67130fe0 Merge "Move caching docs into admin-guide" 2017-07-11 06:15:39 +00:00
Raildo Mascena 0b5c5c03ec Fixing flushing tokens workflow
During a backport patch [0] for this fix
it was found some problems in the previous
approach like, It didn't enabled back the
session.autocommit. Another comment was we should
create a new session and commit on it instead of
disable/enable autocommit.

After this, we should backport this change in order
to fix the previous releases, instead of the other
one.

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

Change-Id: Ifc024ba0e86bb71f4ab8b019917782bc5bf3be7a
Closes-Bug: #1649616
2017-07-10 17:10:38 -03:00