Commit Graph

279 Commits

Author SHA1 Message Date
Jonathan Rosser 5838d27dab Use netcat-openbsd on debian bookworm
The 'netcat' package is no longer installable directly.

    Package netcat is a virtual package provided by:
      netcat-openbsd 1.219-1
      netcat-traditional 1.10-47
    You should explicitly select one to install.
    E: Package 'netcat' has no installation candidate

Change-Id: I4d2cd14abfb0f9c7d02438684af010965d940a4b
2023-09-12 10:38:17 +01:00
Zuul 9e56a55b76 Merge "[doc] Document how to use "local" memcached" 2023-07-24 18:50:46 +00:00
Dmitriy Rabotyagov e29db7b3cb [doc] Document how to use "local" memcached
Having "local" memcached might be valuable for some usecases,
like availability zones, where distance or connection between
controllers is a concern, and memcached with lowest latency should
be preffered whenever possible.

Change-Id: Ie285e582fc9ada149c199a3bd4e6344035068bd3
2023-07-11 20:07:21 +00:00
Dmitriy Rabotyagov 70d3b8bcd9 Fix linters issue and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: Ib46df44ae2251932cf9169721ef463f0ec78b64e
2023-07-11 19:31:03 +02:00
Dmitriy Rabotyagov c74e83e51f Update tox.ini to work with 4.0
With tox release of 4.0, some parameters were deprecated and are ignored now
which causes tox failures. One of the most spread issues we have is using
`whitelist_externals` isntead of `allowlist_externals`


Change-Id: I92e651bdcf6bdc6da8d90f2934238b51a5534cca
2022-12-27 17:53:12 +01:00
OpenStack Release Bot 616bd082a8 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I4e24da41e33cd11795b5062bd20f1f78481787a0
2022-12-13 13:09:31 +00:00
Erik Berg 908a377b2b Remove redundant vars line
This line snuck in with I636e89ba06e513a559a51b1086d8cb6885ecb3e4
probably to bring it in line with other OSA roles, but should already
be covered by the distribution_major_version line above.

Change-Id: I8bba19390e83fdf80255ca1fd41c1a6c9541b67f
2022-09-15 10:18:37 +02:00
Dmitriy Rabotyagov 9847bf2f59 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: I40b2635eafe8221218010d1c3cd5cf5717bc2800
2022-05-30 16:01:15 +02:00
OpenStack Proposal Bot b221ba653f Updated from OpenStack Ansible Tests
Change-Id: I0cb7e9fb3177f5206b9458c897e37d7ba95f9fa2
2022-03-29 17:17:27 +00:00
Jonathan Rosser 7b231960a7 Refactor use of include_vars
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.

This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.

Change-Id: I636e89ba06e513a559a51b1086d8cb6885ecb3e4
2022-01-12 08:43:27 +00:00
OpenStack Proposal Bot 03804ba216 Updated from OpenStack Ansible Tests
Change-Id: Icbc371bedb880c41494494e17cdf8d15635bff05
2021-12-17 16:44:52 +00:00
Dmitriy Rabotyagov cb2c377a4f [doc] Fix haproxy_extra_services layout
Change-Id: I417ba36c54ffd62a6eea57a2d7ef04b422585a3c
2021-10-19 12:24:41 +00:00
Dmitriy Rabotyagov 9e943af976 Fix linters
Change-Id: I70c1cbfa6385a288d81c2ab3bc4f187bed7c5fb4
2021-05-27 16:22:26 +03:00
Dmitriy Rabotyagov 8712a9be07 Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.

We also switch memcached role to use infra tests to decrease testing time
and execute extra tests against infra.

Change-Id: I753abb5c569d07c64f2fd4cc4f3b09b28e60c479
2021-05-21 15:22:19 +00:00
Zuul 9aeef2f365 Merge "Remove templates to unsupported operating systems" 2021-03-24 09:59:43 +00:00
Erik Berg a0f9fc677f Remove templates to unsupported operating systems
All templates for Gentoo, SUSE are removed. An old pre-systemd
template for debian/ubuntu is removed. And memcached.conf template
for redhat is renamed for consistency.

Change-Id: I1ac948e0244a5eb1036049bba970cfaf8cba3f8e
2021-03-22 10:07:01 +01:00
OpenStack Proposal Bot b8091f71e1 Updated from OpenStack Ansible Tests
Change-Id: I92e1277034950f7c11d923fc5bf8b9d29e4dc8c0
2021-03-22 08:45:05 +00:00
Jonathan Rosser 2766425472 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: Ibde83024d1c3a7fc2a91ebaa14f33ad1976a7b22
2021-03-17 09:06:32 +00:00
OpenStack Proposal Bot 511dc50e31 Updated from OpenStack Ansible Tests
Change-Id: Ie2bcdb5c5d46134c10b91091afd7e9bc34f006f2
2021-03-12 22:16:27 +00:00
Jonathan Rosser b53e30cdac Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I8c5d46a9d612b6800b6dde37a324e2357cf99217
2021-02-23 09:21:01 +00:00
dmitriy ef259f76f5 [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.


Change-Id: Ic259a958c6cbbc97028b66abae8e805c4cf54eb3
2021-01-22 18:23:33 +02:00
Jonathan Rosser 2bb11b1b1b Fix linter errors
Change-Id: I24b4749dba7ce48fbbd0bd5df51269b141375bc5
2020-10-02 07:32:15 +01:00
OpenStack Proposal Bot 61248479df Updated from OpenStack Ansible Tests
Change-Id: Ifd27af82266763502f4848e003d006b09da8a2b5
2020-09-24 16:54:06 +00:00
Jonathan Rosser 5080c42f0a Reduce verbosity level when debug is true
Keystone is experiencing memecached timeouts during tempest tests in
CI, and the memcached log is in excess of 20Mbytes. There will be a lot
of write pressure on this log during tempest tests and this patch reduces
the debug log level in an attempt to increase test reliability.

Change-Id: I7db0eb361fc6f09ce64690be2018bf8ed8204e0c
2020-06-16 21:53:33 +01:00
Marc Gariepy 8cdad4a708 remove ansible_python_interpreter
ansible_python_interpreter is now set to auto in the tests repo.
it doesn't need to be overwritten in the test anymore.

Depends-On: https://review.opendev.org/734676/
Change-Id: Iad9eca9922613631e1300bd7fb0e380d03e1aa35
2020-06-11 15:59:07 -04:00
Zuul a9d1ce40e5 Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:39:54 +00:00
OpenStack Proposal Bot e63a3c4247 Updated from OpenStack Ansible Tests
Change-Id: Id37543211918475ef9e06c7e764236801d068ac0
2020-06-03 19:00:39 +00:00
Andreas Jaeger d496dad42d 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: Iaf5e1a33e4ce165fd31e8fd6aebee577b1cffb13
2020-06-03 19:02:52 +02:00
OpenStack Release Bot 40e7d0dde4 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ibcd14e6786f160203ce5853f403f3f617ada3bd0
Sem-Ver: feature
2020-06-01 13:10:19 +00:00
OpenStack Proposal Bot de09d0397e Updated from OpenStack Ansible Tests
Change-Id: I4f6c185125ce4837b01813c3f51830b0bb02fd98
2020-05-22 07:01:20 +00:00
Andreas Jaeger 02e08a49c3 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: I300d3d1a2e4fb16805484fc7c30d61c041b6b7f3
2020-05-20 18:45:31 +02:00
Zuul b4f23dea79 Merge "[ussuri][goal] Update contributor documentation" 2020-05-16 07:52:40 +00:00
Dmitriy Rabotyagov cf483f7a01 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: Ifdbebe6fe4679a1a7af65e671746c98fe06d19fd
2020-05-12 23:44:29 +03:00
OpenStack Proposal Bot 548b8321a0 Updated from OpenStack Ansible Tests
Change-Id: Ie9b18ebf30191e02d6eef6f8c89c3b710ef842a0
2020-05-12 18:03:06 +00:00
OpenStack Proposal Bot 31a9df9766 Updated from OpenStack Ansible Tests
Change-Id: Id77f339eda38193e8c9f256703f93f9fab53f6d1
2020-05-05 13:30:43 +00:00
melissaml 7fc569c154 Cleanup py27 support
This repo is now testing only with Python
3, so let's make a few cleanups:
- remove setup.* files, we don't need them for this repo
- Cleanup */source/conf.py to remove now
  obsolete content.
- Remove install_cmd, the default is fine,
  move constraints into deps.
  Cleanup tox.ini a bit

Change-Id: I00d81ef2ce142faadc4064e3fe15ca020783a7b4
2020-04-27 19:43:30 +02:00
OpenStack Proposal Bot 9da01f2f76 Updated from OpenStack Ansible Tests
Change-Id: I736b7d7cce384de3461db9e091032856f86ef638
2020-04-13 17:45:35 +00:00
OpenStack Proposal Bot 6c3fb32fc6 Updated from OpenStack Ansible Tests
Change-Id: I018e72f16a3d65814ee54a5686c4f8a4f017c408
2020-03-11 12:45:34 +00:00
OpenStack Proposal Bot 5fa6fa269c Updated from OpenStack Ansible Tests
Change-Id: I0806208831dece1bc5f516363e7d85477f3a7565
2020-03-06 17:54:24 +00:00
Ghanshyam Mann 2d12b44a06 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

Only update required is in tox to define common baspython as py3 os that
all tox env including [testenv:functional] will use py3 instead of py2.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I9130b0b4b937223285ea0c5eaf2074acb6b459cd
2020-03-01 16:05:19 +00:00
OpenStack Proposal Bot 912f5c7bdb Updated from OpenStack Ansible Tests
Change-Id: I1bb07134f67949b6f157c9501e2413df833795fa
2020-02-24 13:06:33 +00:00
Dmitriy Rabotyagov 5f7f49f8b3 [doc] Fix playbook path
Change-Id: I953d8e7b9b36db5dbb8fd1cf8cf73714f12a246e
2020-01-23 23:31:14 +02:00
Dmitriy Rabotyagov 047c5c86ec Document access memcached via haproxy
Failure of single memcached instance now causes some delays in API
responses even with usage of oslo_cache.memcache_pool
Setting haproxy in front of memcache gives more reliable failover and
minimize delays in case of memcached failure.

Change-Id: Iea4fb513fe8a46fe7d9c04ce90d0fbf0d156cc4f
2019-12-26 15:23:30 +02:00
Zuul ce8d7cbf1c Merge "tox: Keeping going with docs" 2019-12-12 20:56:38 +00:00
OpenStack Proposal Bot e40ff1ef13 Updated from OpenStack Ansible Tests
Change-Id: Iaa325946162669b3c97000cae94f38595a5e87ae
2019-11-21 16:32:47 +00:00
jacky06 e14a77d2fd tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the unnecessary blank line for tox.ini

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Depends-On: Ie837d376bb1a1d93367369d25140dd8a9d5ac14e
Change-Id: I1105e54b43eb286f89a7e498cdc9491c31b43add
2019-10-23 17:39:30 +00:00
OpenStack Release Bot 40f1b0d199 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I62d4a6659ce156df23286f75c299b0997787ccdd
Sem-Ver: feature
2019-10-22 18:54:51 +00:00
Dmitriy Rabotyagov 88bc0fade7 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: I0ea6477cb62773a1c9c82e77204c9bc72255a892
Story: 2006105
2019-10-17 15:37:24 +00:00
liuwei 4c9152cf73 update git.openstack.org to opendev
Change-Id: I26f9ce0de55a719df7c1330c01f48aa36056eb1a
2019-09-27 01:08:27 +00:00
OpenStack Proposal Bot 2e3639895c Updated from OpenStack Ansible Tests
Change-Id: Iae66f7842d05634cb8712a4e8837c7be53fb60b2
2019-08-20 03:05:12 +00:00