Commit Graph

44 Commits

Author SHA1 Message Date
Tim Burke 719f8437f4 Remove nobarrier mount option from docs
Swift stopped including this option in its docs in 2019, and recent
kernels stopped recognizing it as a valid option, leading to mount
failures.

Related-Change: https://review.opendev.org/c/openstack/swift/+/665984
Closes-Bug: #2051764
Change-Id: I4f2ff43ac90023db422633246e89146b377cee74
2024-02-16 09:54:57 -08:00
Dmitriy Rabotyagov 1d0bba49a7 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: I4d6eacae2041b0a00114dda4e8315d4ec6295319
Related-Bug: #2029486
2023-08-15 13:10:38 +02:00
Andrej Babolcai 89a6bb0718 Add support for running object-servers Per Disk
Adds support for configuring different storage port per disk
in the storage policy ring. This Swift feature is described
here https://docs.openstack.org/swift/latest/deployment_guide.html#running-object-servers-per-disk

Signed-off-by: Andrej Babolcai <andrej.babolcai@gmail.com>
Change-Id: I254e35a67195817c237dba00bec6338d3fffa985
2022-11-16 09:34:48 +01:00
Dmitriy Rabotyagov 7d8259c486 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: Ifd2b3956ee3f8a7847256d6444cccf674c7d526e
2022-05-30 16:01:40 +02:00
Jonathan Rosser b71665074d Fix linter errors
Depends-On: https://review.opendev.org/755585
Change-Id: I497f6c2c963a59eb5ff4101bd74b16fa9eecc4c0
2020-10-02 08:26:59 +01:00
Zuul 9b03d151cd Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:40:52 +00:00
OpenStack Proposal Bot dc00581f5c Updated from OpenStack Ansible Tests
Change-Id: Ibfe1682d1260190a6482285e9975b2fb1704a1f8
2020-06-03 19:09:18 +00:00
Andreas Jaeger 16b693e4b9 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: Ic44c59fb192395059badddaf7f888bbbe27866c7
2020-06-03 20:05:16 +02:00
Andreas Jaeger b19a7e508a 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: Ie4ac4403b5d9b748ea02b9b714cf833fdc5e83cc
2020-05-20 18:51:44 +02:00
OpenStack Proposal Bot ba5a1e7979 Updated from OpenStack Ansible Tests
Change-Id: I815dba433ee5623afcbf1cd91bf221210d8edf97
2020-05-12 18:05:06 +00:00
OpenStack Proposal Bot 16149680db Updated from OpenStack Ansible Tests
Change-Id: Ic169ccd59949e60577858e587ed407fa201480e1
2020-05-05 13:33:49 +00:00
Zuul c3671a7ed8 Merge "Cleanup py27 support" 2020-04-14 18:18:17 +00:00
Andreas Jaeger 295cd5e3b4 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
- Enable warnings for sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.

Change-Id: I58849f8ace219a1d23540932c9481f50fc98225c
2020-04-13 20:16:36 +02:00
OpenStack Proposal Bot 4438756d07 Updated from OpenStack Ansible Tests
Change-Id: I3fd6a2fb5c9a8c079ca34cbeb5996e792959611a
2020-04-13 17:53:20 +00:00
OpenStack Proposal Bot b4b5c46980 Updated from OpenStack Ansible Tests
Change-Id: Ib26e774ac41427608851f552e3ae9b579d297000
2019-11-21 16:36:01 +00:00
Dmitriy Rabotyagov 97790114dc 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: Ic33ce7bd38461dc9b3363f70b1e95baf4e969172
Story: 2006105
2019-10-18 18:05:17 +03:00
OpenStack Proposal Bot 94870a6c67 Updated from OpenStack Ansible Tests
Change-Id: Ie8feb2e0a0d229aed75461257199bc4af20abbfc
2019-07-30 19:43:59 +00:00
OpenStack Proposal Bot 538e4fef34 Updated from OpenStack Ansible Tests
Change-Id: Ideb37c6ff1bba3b628931a1e30f7076f0e429b63
2019-07-20 09:37:57 +00:00
zhangboye 27e48fc1ae Cap sphinx for py2 to match global requirements
Change-Id: Ie7ae55e68db100e712e6d862aefec2220dc0a83b
2019-06-06 17:49:04 +08:00
Mohammed Naser 58e85d8b87 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: I2321ad52ff06b4bb399597ed4eb006d9318f029a
2019-04-04 08:57:23 +00:00
Zuul 492938173b Merge "fix http links to https links" 2018-12-22 18:22:10 +00:00
MaoyangLiu 8fc5ef9560 fix 'an unique' to 'a unique'
Change-Id: I1a0aaa6b76acd43e90c539cc324291dd6d729359
2018-11-24 11:19:59 +08:00
chengebj5238 9b3d56186f fix http links to https links
Change-Id: I666954537dd193e56c0e8b86fabb0a44f35e697e
2018-11-24 10:21:24 +08:00
Corey Wright 6654e4835d Replace swiftoperator role with swift_operator_role variable
Though a `swift_operator_role` variable exists to allow specifying an
operator role other than `swiftoperator`, it is not applied to all
uses of the role, eg the proxy-server.conf template.

Replace all remaining hard-coded references to the `swiftoperator`
role with the `swift_operator_role` variable.

Change-Id: Ie6db872cc2b7a1b1a90d9a690ee08937a9cab785
Signed-off-by: Corey Wright <corey.wright@rackspace.com>
2018-06-21 19:44:45 -05:00
OpenStack Proposal Bot 8058210ef6 Updated from global requirements
Change-Id: Ifaf67ce2d9b8671f98b1b3d13408c5e1544f3b8b
2018-03-15 07:38:37 +00:00
OpenStack Proposal Bot ea0f11e93d Updated from global requirements
Change-Id: Iff9e1ea8ecc4fc6e3bf0af2bc8c9fb9185ad7947
2018-03-10 13:37:23 +00:00
ZhongShengping effff15606 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: I934aa82f8a46989caa9eeae25cbe808f2deb722a
2018-03-09 12:01:27 +08:00
Jean-Philippe Evrard e875054dbc 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: I2a59d22cd7d073fbc4af711aa6d9be92a2c07e54
2017-12-05 11:56:17 +00:00
Jean-Philippe Evrard 0147d155d4 Update upgrade role for Queens from P
This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:

The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.

Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.

We need to generate the constraints for the previous version too.
This should do it.

This patch also 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: I4aa7591c931501490e706b9d61ba0bc12c006baa
2017-10-17 20:52:25 +00:00
ZhongShengping 1f717c9065 Update URLs in documents according to document migration
Change-Id: Iec0908b8a4db3faa9dc4bf40082f0f898e8b779b
2017-07-14 14:08:15 +08:00
ZhongShengping 52228ba571 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: I7ef76fd6e6fe79d12bc57eabe0b120ab10d6d429
2017-07-03 16:22:24 +08:00
Adrien Cunin 15c6967a41 Use auto instead of noauto mount option
This is needed in order for the devices to be mounted automatically.

Change-Id: I4bd87330a06679d88c09daa5e7ab660aabba829a
2017-03-10 13:20:29 +01:00
Cao Xuan Hoang 42cc0a4212 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: If7efc916e31cea7ff3afb2da55339232e89babbf
2017-02-06 17:09:07 +07:00
Jenkins 8973e14080 Merge "Bring consistency to tags" 2017-01-13 16:02:24 +00:00
Alexandra Settle 8fcd1e2a8e Fix to broken link
Change-Id: Ifea2f5789f67be1fb00fb633bb94ab8439e0245b
2017-01-13 13:55:09 +00:00
Jean-Philippe Evrard 7e2db5362d Bring consistency to tags
Some tags were not applied on the highest level and forced duplication.
We apply here our practices to have role_name-(config|install) [1].

[1]: http://docs.openstack.org/developer/openstack-ansible/developer-docs/contribute.html#ansible-style-guide

Change-Id: I1cfb335307bc63e6c962c8bdbcb420b03c10f531
2017-01-13 13:44:06 +00:00
Catherine Richardson 445ba39cc4 Change auth_identity_uri to keystone_service_internalurl
for Object Storage in Integrate with the Image Service
section

Closes-bug: 1655112

Change-Id: Iac3582dc4d7a6a1c76d397a5359d964d31100f82
2017-01-10 21:38:58 +00:00
Andy McCrae 4615ef44cf [docs] Updating 404 link for os_swift
Change-Id: Iacff05a620afb07375b3aa648c047e161c721bb8
Partial-bug: #1652948
2016-12-29 16:08:43 +00:00
Jean-Philippe Evrard d4a780395e 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: Ie15e443caf00634db8ef5f1415a79f193db227ea
2016-12-01 12:09:57 +00:00
Nish Patwa b495b8f0f0 [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: I5680e3e9a49b038a897735c2fe04cd3890b29a0f
2016-10-18 17:35:21 +00:00
Andy McCrae 9578aa5fd7 Ensure storage/replication_ip are uniform
We need to ensure the swift services are listening on the same IP and
port as the ring is setup for. Currently we calculate these values in
different ways, which leads to the possibility that the ring is setup
for ports and IPs that the services are not listening on.

This change ensures this by calculating the storage and replication
addresses within the role - whilst still accepting overrides from
outside the role. This ensures functionality does not change, but that
it is now not possible for the swift services to not listen on the
ports/IPs defined in the ring.

As part of this change we move to set "swift_dedicated_replication"
based on whether the storage and replication addresses are the same,
rather than the specified network. This means you can run a dedicated
replication config by configuring the services, which was possible to
configure, but again would have meant the services and ring were not
configured in the same way. This is required to ensure uniformity.

Finally - we remove the ability to set a storage_port or repl_port
within the swift_vars, this was a setting that would never work in it's
current implementation. The storage/repl_port would depend entirely on
which swift service was in use, and can not be set in such a blanket
fashion. Since this was a completely not working funcitonality it has
now been removed.

Change-Id: Ibe5330cdca7fd81f379b80dc55ad06529ce4d580
2016-09-26 11:23:15 +01:00
Travis Truman d3305e4be0 Relocate Swift configuration docs to os_swift role
Change-Id: Ic3e6540556eeb0518d8e6c59b32f38a427071799
2016-08-15 12:54:04 -04:00
Jesse Pretorius 5f9c83a83c 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: I67b952afefbf28a62f33ef784f498c950763de7d
2016-07-12 16:54:14 +01:00
Kevin Carter 445f76ff94
Implement base configuration for independent repository
Change-Id: Ia0c83a480487746b70e2404137800080842526f7
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-03-01 15:03:17 -06:00