Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Bonney 2ed76dee5d oidc: fix overloading of redirect_uri for cli client
The redirect URI specified in the Apache config for OIDC
was unintentionally serving a dual purpose as a redirect
URI and a handler for command line auth.

As of mod_auth_openidc v2.4.9 this no longer works.
This change splits the paths for command line auth and
the redirect URI into two to work around this.

Change-Id: I27c612cf8537b401c1195ae0892bf5569e2f3858
2023-10-20 14:04:31 +01:00
Dmitriy Rabotyagov f66934de35 Fix docs jobs after sphinx update
Doc jobs for the role are failing now with line being too long. Adding
new line fix the issue as link is treated properly afterwards.

Change-Id: I4deeacd9d953e3bf1bde208a4011455f8dd6fbe0
2023-09-05 08:26:20 +02:00
Dmitriy Rabotyagov 9ca29f5754 Stop reffering _member_ role
Keystone has stopped providing or reffering `_member_` role for a while,
thus role should not be refferenced anymore.

Moreover, with 2023.1 service policies have dropped `_member_`
which resulted in the role to be insufficient for basic operations.

Change-Id: I5732f9197902fccb96eb8537050849a1692d3725
Related-Bug: #2029486
2023-08-15 13:18:45 +02:00
Dmitriy Rabotyagov e26aabe440 Remove mention of haproxy-endpoints role
Keystone role was never migrated to usage of haproxy-endpoints role
and included task was used instead the whole time.
With that to reduce complexity and to have unified approach, all mention
of the role and handler are removed from the code.

Change-Id: Ib21a5f5caa590daa827e45d26015bf32abe39cf2
2022-06-14 14:42:36 +02:00
Dmitriy Rabotyagov ca382d2c03 Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and should
not be used.


Change-Id: I7f03a145490529e703aced630c49d08b0e59a435
2022-05-30 16:01:30 +02:00
Georgina f8116e3f24 Updates to federation documentation
- Standardise use of default as domain id for federated identities
that is necessary for newer ansible collections.

- Add information about OIDC with mod_auth_openidc.

- General updates to SAML / older documentation.

Change-Id: Ife7176bf5b9b7e52ceec6ef8971349222477414e
2021-07-15 16:36:21 +00:00
Jonathan Rosser 2dda74a3d0 Fix linter errors
Add noqa where requried http://paste.openstack.org/show/798685/

Also remove centos-7 jobs as these are not supported for Victoria and
are blocking further patches merging.
Change-Id: I92f9131daf23f5cd38054a0b7c385344994a2aa0
2020-10-05 09:54:35 +00:00
Zuul 5b88b6f286 Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:43:02 +00:00
OpenStack Proposal Bot 4a8161b170 Updated from OpenStack Ansible Tests
Change-Id: I37ed9996b731fcf7d641ad5f7539a0b875d7abc9
2020-06-03 19:05:24 +00:00
Andreas Jaeger 209dda107f Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Iecbe3fa0e8cafb7a69d398d2bb039693c7d24957
2020-06-03 19:57:43 +02:00
Andreas Jaeger bcdf63a48b Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I9a8e5558cc159fe476a32c905cde19c7fb7d7099
2020-05-20 18:49:15 +02:00
OpenStack Proposal Bot dbcf422d46 Updated from OpenStack Ansible Tests
Change-Id: I3d3933bdc563706bcaf28c5d0199a7179b69561b
2020-05-12 18:04:15 +00:00
OpenStack Proposal Bot 1e613a333d Updated from OpenStack Ansible Tests
Change-Id: I66c3f8014c1e32e8344f26d5a4117a0a76248c40
2020-05-05 13:32:28 +00:00
Andreas Jaeger 9f264efe3b Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup */source/conf.py to remove now obsolete content.

Change-Id: I601d900d4c34565e08d121f4100ebd3b1140b991
2020-04-22 13:51:52 +02:00
OpenStack Proposal Bot b3f08711dd Updated from OpenStack Ansible Tests
Change-Id: I22f9649898832c39981c2d96b9e4839e2f5d4df4
2020-04-13 17:49:58 +00:00
OpenStack Proposal Bot 7b3a002b69 Updated from OpenStack Ansible Tests
Change-Id: Id7623980766cf23fbc25c8b1d5f0eb55ee4395a6
2019-11-21 16:34:37 +00:00
Lance Bragstad 83dc547d67 Remove references to writable LDAP from documentation
Keystone removed support for writable LDAP backends in Ocata. Prior to
that it was deprecated for several releases. This commit removes
references to those configuration options since they are silently
ignored. This cleans up the configuration files and doesn't give the
impression that functionality is still supported.

Relevant release notes that advertize the removal:

  https://docs.openstack.org/releasenotes/keystone/ocata.html#relnotes-11-0-0-origin-stable-ocata-other-notes

Change-Id: Id05247d004ee7d189dff3ec867a6ec11dfc40e9b
2019-11-19 14:52:40 -06:00
OpenStack Proposal Bot 0b3ce7fa89 Updated from OpenStack Ansible Tests
Change-Id: Ied5ba85863bbda37ed5ed09137cb10dce0c8c8b6
2019-10-23 17:25:20 +00:00
Dmitriy Rabotyagov aac229121f PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Change-Id: Ie55900a7a2b3f3696588100137847f1950cf72e2
Story: 2006105
2019-10-18 19:55:54 +03:00
OpenStack Proposal Bot 3fc75ea13d Updated from OpenStack Ansible Tests
Change-Id: I04f938ead0be6a3ea62a14dfd5d6c4244dda88ef
2019-07-30 19:40:23 +00:00
OpenStack Proposal Bot 0c516c26da Updated from OpenStack Ansible Tests
Change-Id: I2fabfc3c182a51ba837010651e359e4f2017f844
2019-07-20 09:33:35 +00:00
Dmitriy Rabotjagov c17062f3b4 Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: I6a6660bd3e15908adad9cd1fd76f582506562a97
2019-05-24 17:12:37 +00:00
zhangboye 3c0ee62696 Cap sphinx for py2 to match global requirements
Change-Id: Iae8cc8df4bf91b13e3746d82d0cb751d18e35945
2019-05-16 14:41:58 +08:00
Mohammed Naser d8474f35ff docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I797436280167410215348752540fdb2600cb534c
2019-04-04 09:02:42 +00:00
Jimmy McCrory d638110970 Remove keystone service user
The keystone service user is never used by the keystone service. Remove
the tasks creating it and related variables.

Change-Id: Iede26cba97ab43cdd0abc3887883e61d40007b34
2018-10-18 09:56:05 -07:00
OpenStack Proposal Bot 579cab34c7 Updated from global requirements
Change-Id: I94f575962d2c695361546333cc726d13d267eb9a
2018-03-15 07:35:08 +00:00
OpenStack Proposal Bot b86561eff9 Updated from global requirements
Change-Id: Id2f5e1267caa5834b50f07204bb23de6b61d2f9a
2018-03-13 07:14:33 +00:00
Zuul 6a7b03880f Merge "Remove unused keystone service variables" 2018-03-13 03:55:50 +00:00
OpenStack Proposal Bot 3101f6f622 Updated from global requirements
Change-Id: Ic545c4d64050daa45c870ba1ed3b9621bb0e60fb
2018-03-11 13:52:18 +00:00
ZhongShengping effbd21898 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I1b5c9881bc1d82900ed5914402fa0b2ebb443757
2018-03-09 12:01:26 +08:00
Jimmy McCrory aea79e7e52 Remove unused keystone service variables
The keystone_service admin, public, and internal url and v3 variables
were only used in documented examples for federation, not in any tasks.

Change-Id: Ia8a0f8c945f83a5974c4a74890e73002cf219158
2018-02-27 16:34:16 +00:00
Jean-Philippe Evrard 271a668f18 Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: Ie72283fc39355bb798a90ce3347a197d1b8e5e37
2017-12-05 11:52:30 +00:00
Jesse Pretorius 46931b172c Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: Ic04b7e658e7755c8e66e47a84442a5f3c791fa78
2017-10-18 11:21:52 +00:00
Logan V 5e23c765b3 Add external LB management handler hook interface
Based on conversation on an ansible issue[1], I implemented
a LB orchestration role[2] similar to the POC here[3].

This will allow external loadbalancer management roles to hook
into a universal notify listener "Manage LB" to perform before/
after endpoint management actions when the service is being
restarted.

[1]: https://github.com/ansible/ansible/issues/27813
[2]: https://github.com/Logan2211/ansible-haproxy-endpoints
[3]: https://github.com/Logan2211/tmp-ansible-27813

Change-Id: Ide9efbc79e4fd2c761a3ee4f463f501181da1df2
2017-09-16 13:41:28 -05:00
ZhongShengping a9658c263a Update URLs in documents according to document migration
Change-Id: Ie756c7274631433a071c901c00dd7e61329b85f2
2017-07-19 09:32:03 +08:00
ZhongShengping 6241f5e6c6 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ifec7dc5ac514bac099d2e48f8bae4a3f4b134ef4
2017-07-03 16:18:03 +08:00
chenxing b64ea17360 Fix the dead link
Change-Id: I67312711b74d4524ef268f60c17bc0704bf78798
Related-Bug: #1681742
2017-04-13 14:19:43 +00:00
Cao Xuan Hoang bdf659d04c Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I23379d2544839e5809889824521e757f49a592ec
2017-02-06 17:01:49 +07:00
Andy McCrae ec6824fa6b Fix 404 for os_keystone
Change-Id: Ic3549d1390884247d27ce6c407ef05c45a8baf26
2017-01-13 14:58:11 +00:00
Andy McCrae 2635e43c09 [docs] Updating 404 link for os_keystone
Change-Id: Id9df435c53f6762704f9c76f422d99f90ed26ff4
Partial-bug: #1652948
2016-12-29 15:37:30 +00:00
Andy McCrae 3aef25d4e9 Update repository with reference to role git location
Change-Id: I1c03eb23632557e4747357ac26253a8215965a00
2016-12-22 14:26:22 +00:00
Jean-Philippe Evrard e31dc2d358 Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.

This should solve it.

Change-Id: I634be4d1bdf98af7687112fdb2a4dc708ef85703
2016-12-01 12:07:06 +00:00
Nish Patwa cd31c6b2b2 [DOCS] Added release-name as a watermark to Docs.
Added a water mark to the role documentation
to make clear to deployers which release they're
working with.

Modified conf.py that adds watermark to the documentation according
to particular branch. If the current branch is master than
watermark is 'Pre-release' and if the current branch is
stable/<release-name> than watermark is <release-name>.

This is a combined implementation based on the following
patches:
- https://review.openstack.org/372565
- https://review.openstack.org/382637
- https://review.openstack.org/384140

Change-Id: Ibd4e915a3fddc5cee2da0097cbdd99ef629a87fa
2016-10-18 17:09:17 +00:00
Alexandra c0fa231c21 [DOCS] Move keystone federation role docs
Also includes clean up of the pre-existing content.

Update the role documentation to match the newly proposed format.  In
the new format, each role project should maintain the configuration
variations for the role project itself.

Change-Id: I68ab9a5e8e305114e023ce23341bc9e11a5dbe7c
2016-08-16 08:46:08 +00:00
Jesse Pretorius 418ebd6e4b Ensure that doc linting is included in the linters test
The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: I15e21908c9d453256220c304ce85f7488497e719
2016-07-26 00:41:35 +01:00
Jesse Pretorius ad7919e19d Update sphinx configuration
This patch updates the sphinx configuration for docs and releasenotes
to make it easier to replicate across repositories and to comply with
pep8 testing without exceptions.

Change-Id: I388123b1cbd06955421e69af740b11e559cedb00
2016-07-12 16:53:21 +01:00
Travis Truman 859b9d5998 [DOCS] Cleanup the role docs for consistency and clarity
Utilizing RST includes to reduce duplication of documentation
effort. All contents of the Ansible defaults/main.yml are
now included in the documentation directly.

Change-Id: Ib3d0caa4a23550f201887b075bb8f0de5d9f6c26
2016-03-10 09:13:41 -05:00
Kevin Carter 7d4cc4a217
Updated role to be an independent role
This change makes it so that the OS_keystone role is an independent
role and can be installed / tested stand-alone.

Implements: blueprint independent-role-repositories
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-02-26 14:13:43 -06:00