* Update openstack-ansible-os_rally from branch 'master'
to e44c99e64a4bf07ad0cb1d5e07e476274ef042bb
- Fix linters 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: Ib390f06177fbac77a4285e3be86e6461fd769597
* Update openstack-ansible-os_rally from branch 'master'
to c65b91b4900292fb5c4a07dd4473fcf4554b111e
- Include proper commit in rally_upper_constraints_url
Currently, rally_upper_constraints_url always points to master branch.
It is not a valid behavior because u-c from master may not work for
stable branches.
This change fixes rally_upper_constraints_url.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/887592
Change-Id: I016e457c0e4b7819d6d65af3bc35e06061f92d1c
* Update openstack-ansible-os_rally from branch 'master'
to ef5732cb0ec01a03a147c574dbab9d798e35f3fb
- Fix rally U-C retrieval from file
At the moment in CI we attempt to fetch U-C for rally from local git
repo. Though rally does fail while attempting to curl the URI
since it does include git patch that is not valid URI in case
if file:// is used.
Change-Id: If2d7732c3816d343cdcea7e7263ea14c37c59f0c
* Update openstack-ansible-os_rally from branch 'master'
to 7f01efb9c495ce38e9ae7c163b0fe8c155742e2b
- 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: I720259c72c1b912ec591a452be8ef6178538bf38
* Update openstack-ansible-os_rally from branch 'master'
to 7673fce307a701416cdf6aa8a5678e70a6ce141b
- Remove redundant vars line
This line was introduced by I2d99c57c5e00c9805aaeac0e7e2f173ff3b69837
for centos support, and should already be covered by the
distribution_major_version line above.
Change-Id: Ic978c9c9fe50eb075628c0beed6995656b428040
* Update openstack-ansible-os_rally from branch 'master'
to e973cd34ce44e2835bf8d3fa0093fae0f2d64079
- Return upgrade jobs to voting
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/848760
Change-Id: Ib874892e6642c7a2902fcba560f7bebeb162e1b1
* Update openstack-ansible-os_rally from branch 'master'
to 136dfa02d050454d3b663186a212184a86b63c3e
- Control rally-openstack installed version
At the moment we don't have control what version of rally-openstack
is being installed. So we are installing latest version available in
PyPi. However rally package version is defined in
rally-openstack constraints.
With this patch we add variables to be able to adjust source of
rally-openstack as well as pick version for installation.
We also temporary disable upgrade jobs to resolve circular dependency
Needed-By: https://review.opendev.org/c/openstack/openstack-ansible/+/847272
Change-Id: I8100dfd3544c0530815fb877b44b960d404f635b
* Update openstack-ansible-os_rally from branch 'master'
to 854b8a2b1f35e441cc09fa6b51b8b586351a4a53
- 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: I2de7c07f52d75740e9a1050ef3f1e19e88aeb808
* Update openstack-ansible-os_rally from branch 'master'
to 1a63052a9b0312d6cce1813df62edd0ec90d8204
- Use common service setup tasks from a collection rather than in-role
Change-Id: I643e9a6bb14538cee1e8d235c55bca408cc031f0
* Update openstack-ansible-os_rally from branch 'master'
to 1fc98a9dfb2b4d0fa0fa957932ecc14bffb056f4
- Remove PyYAML from rally installation constraints
Rally does not install on python3.10 becasue of the following
failure https://paste.opendev.org/show/bKyapGIcLIwCkUSGwF3k/
Change-Id: I4fbbed088b9b67ca17467020e3044ffc9d78317b
* Update openstack-ansible-os_rally from branch 'master'
to e31bfe79a4e4d90973aabfb03ca8df1497a1cd71
- Do not install python development packages
The python_venv_build role is responsible for setting up the build
environment for python wheels so this role should not install
python development packages
Change-Id: I0c112d49262578359e8f8843084f75eb48799778
* Update openstack-ansible-os_rally from branch 'master'
to 1169082a53b097abc71e5250e183a50a68307741
- Use config_template as a collection
Since we still use ceph-ansible that has their own implementation of
config_template module it's worth to use mentioned module as a collection
explicitly.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814
Change-Id: Ia6d0d1a3c70d5bada324e7ccdda8427c7735884a
* Update openstack-ansible-os_rally from branch 'master'
to e1b13a1e448d99363217d49da3fef194b5a91c09
- Install PyMySQL as rally commands may not work without it
(rally-23.1.0.dev64) root@aio1-utility-container-13a6c4d0:/etc/rally# rally task list
[...]
Command failed, please check log for more info
2021-11-24 16:21:59.593 3777441 CRITICAL rally [-] Unhandled error: ModuleNotFoundError: No module named 'pymysql'
relevant rally commit: 3f4bc46535
Change-Id: I2a755326559ee95b74fabe6bc89ed26a820a70a1
* Update openstack-ansible-os_rally from branch 'master'
to 426a25ec0b807a8baa47ff231443529e16da501a
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: If2c5ecd67aba8a5979bf4fbbca38cb3217b6c1b8
* Update openstack-ansible-os_rally from branch 'master'
to 243198ecedd8fcb61b08cffc9e2c28b5dd674ad1
- 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.
Change-Id: I41a967483b7ae75bb49328f5b9fd8931ee892912
* Update openstack-ansible-os_rally from branch 'master'
to 99f087d2e3e07cfee81a769288453fa1a02295ad
- Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: Iafcd10d169b9515846293731ca1e5b8a7ffb5fe1
* Update openstack-ansible-os_rally from branch 'master'
to deaa062106b95ce230dd5cf0a2370d46d1fa53a9
- Merge "Remove references to unsupported operating systems"
- 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: Ia09789da8c8137c982dcd7560fe61a98a07309e7
* Update openstack-ansible-os_rally from branch 'master'
to 6e0ac66be35a6a688f24ffdeb1c5fa553198b856
- Merge "[reno] Stop publishing release notes"
- [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: Ib38533c7d6cd16df06a55fb704ca8683cabc8972
* Update openstack-ansible-os_rally from branch 'master'
to 03c78725360310437ee455e0b840a2c769da0f39
- Ensure that the rally venv build is self contained
Rally ships it's own version of upper-constraints [1].
As we move openstack-ansible to using the new pip resolver this
causes several issues. The rally specific version of u-c contains
constraints for pip/setuptools/wheel which will inevitably be in
conflict with those in global-requirement-pins. This results in
several problems.
* Rally is branchless and so applying branch-specific versions
of openstack u-c is incorrect
* Rally should be installed using the rally u-c rather than
openstack u-c
* Rally should not use the repo server to build wheels as the repo
server wheel build venv will have different versions of pip/
setuptools/wheel to those specificed in rally u-c.
* Rally venv build should not be subject to openstack-ansible
global-requirement-pins as these are in conflict with rally u-c.
This patch introduces the changes necessary to build rally in a self
contained manner on the utility host with no use of the repo server.
It also includes a revert of I73887784cbc3ce6089a42c67871dbc6c3d54acf6.
[1] https://opendev.org/openstack/rally-openstack/raw/branch/master/upper-constraints.txt
Change-Id: Idbd71ade1ab82d2d218e560b2f10c38116ff47e3
* Update openstack-ansible-os_rally from branch 'master'
- Use the utility host for db setup tasks
Move it to the service setup host (defaults to utility[0]) instead
of the galera[0] host, and use galera_address (defaults to internal VIP)
as the endpoint instead of a local connection on the db host.
Change-Id: I3d7688ea29f1eb4d65dd50ae82d157f988e404af
* Update openstack-ansible-os_rally from branch 'master'
- Merge "Do not install development packages on the target"
- Do not install development packages on the target
This role currently passes a list of -dev packages to the
python_venv_build role which will install them on the target
rather than use them for building wheels on the repo server.
This patch removes those package installs and if any specific
dev packages are required they should instead be passed to
python_venv_build via venv_build_distro_package_list.
Change-Id: I5ed1c5145a38becd92de2842417cd6e4774b7bf9
* Update openstack-ansible-os_rally from branch 'master'
- 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: Ibdbfab5d3ab2eb301a583db469f7a96b8785bf7d
* Update openstack-ansible-os_rally from branch 'master'
- Merge "Use newer openstackdocstheme and reno versions"
- 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: Ib7f76f49d8679991b2deb22aff0d7878bc1e2ce0
* Update openstack-ansible-os_rally from branch 'master'
- 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: I35a0aa74d2e667c7a7ac730a8993b2b3d1192dbe
Sem-Ver: feature
* Update openstack-ansible-os_rally from branch 'master'
- 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: I2963b474efb08ac4fb619830673b5b1e12a89389
* Update openstack-ansible-os_rally from branch 'master'
- Merge "Cleanup after repo_build and pip_install retirement"
- Cleanup after repo_build and pip_install retirement
Change-Id: I1f2dd31d326692ec410c56971e087ed5376f563b
* Update openstack-ansible-os_rally from branch 'master'
- 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 doc/source/conf.py to remove now obsolete content.
Change-Id: I7b01050c13a960ad603a2d223530ed43e551a274
* Update openstack-ansible-os_rally from branch 'master'
- Merge "Change upper constraints url"
- Change upper constraints url
To be consistent with other projects, we are changing upper constraints
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
Change-Id: I73887784cbc3ce6089a42c67871dbc6c3d54acf6
* Update openstack-ansible-os_rally from branch 'master'
- Removes reference to deprecated rally-manage
Replaces the call to "rally-manage db create" with the
post-2.0.0-compatible "rally db create".
Closes-Bug: #1853509
Change-Id: I588ba1e26f5e4afc40f43547b15b48e9428e2f48