* Update openstack-ansible-tests from branch 'master'
to d163850d7c24df3ed5cb80bf5a38937ca8e0fb4c
- Bump ansible-core to 2.12.8
On 30.09.2023, "old" ansible galaxy(galaxy.ansible.com) was replaced
with "galaxy ng"[1].
There was a bug [2][3][4] that was fixed only in a supported
ansible-core versions, so:
- v2.12.8
- v2.13.3
- v2.14.0 (and all newer versions)
All openstack-ansible versions up to Yoga are using older ansible-core
versions.
As a result, bootstrap-ansible.sh script fails with an error:
```
Skipping Galaxy server https://galaxy.ansible.com/api/. Got an
unexpected error when getting available versions of collection
ansible.netcommon:
'/api/v3/plugin/ansible/content/published/collections/index/ansible/netcommon/versions/'
```
This patch bumps ansible-core version to 2.12.8 that includes required
fix.
[1] https://www.ansible.com/blog/new-ansible-galaxy
[2] https://github.com/ansible/ansible/issues/81830
[3] https://github.com/ansible/ansible/issues/77911
[4] https://github.com/ansible/ansible/pull/78325
Change-Id: I2c15c220ca8c6b6f0cbedbf0da8e802b7c0f5e2d
* Update openstack-ansible-tests from branch 'master'
to ade6c0e8e0638bee11dd1f38741c7b6e0b9a72d9
- Merge "Use curl to download u-c"
- Use curl to download u-c
In functional tests we don't ensure that wget exists. Also for Ubuntu
we ensure that curl is present only. So let's replace wget command with
curl and be consistent across repos.
Change-Id: If9106bd0a481079b9e676c5547e244a11a35fb73
* Update openstack-ansible-tests from branch 'master'
to 0c4f893cf7e377ef09b26685bcf96eeb721dbbbb
- Switch functional job to Jammy
As PTI for 2023.1 Antelope release Ubuntu Jammy was set as a target
platform. Thus, we should update our functional jobs to reflect that.
With that we also clean-out projects.yaml from jobs that are currently
undefined among zuul jobs to prevent any zuul config failures.
Change-Id: I72b4bb7eddb37579f9d33d365ded982e5db0a9ac
* Update openstack-ansible-tests from branch 'master'
to 747c5f65542bcafcf3fb0da34b232909c59ddc4f
- 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: Id2a4cb712b4099bff1c05c4d10502a7572517268
* Update openstack-ansible-tests from branch 'master'
to 7cf3536af137b798d674bab709ae18a42bf77a20
- 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: Iabfa5f742744a9fc69ba296d8953359891832779
* Update openstack-ansible-tests from branch 'master'
to 5a80c5f1450871f0cc3835ac028a9e1c92d947b3
- Pin tox version to less than 4
Change-Id: Ie8d18b0d1a588e8a5619394be6c9c758e87b30cd
* Update openstack-ansible-tests from branch 'master'
to 2ebc57082cf9d5f140ea1e3f217701d0e385cda8
- Add SERVICES_BRANCH variable for better control
Currently TESTING_BRANCH serving 2 purposes - it controls over OSA
branch to use and services branch.
At the same time we need to have these separated from time to time, as
OSA is trailing.
Change-Id: Ib5ca8c7d3300f4e8efd81f87612c821594bebfac
* Update openstack-ansible-tests from branch 'master'
to ecec4ecca738f6fb42cfb648fd7c6132deab1abe
- Fix python installation for centos 8 stream
This must be python3.8 as we use this version in the integrated repo
and require it for ansible 2.12
Change-Id: Ia326d92c24b9cdfcf46011e0661a9b5081e11573
* Update openstack-ansible-tests from branch 'master'
to 2c762b5daa8508d30bd24c65df0392dc35af9cd3
- Run main_pre.yml tasks as initial keystone installation step
Change-Id: I0b03f25a4682f1f084fb9405f3f09bc01fb09e10
* Update openstack-ansible-tests from branch 'master'
to 87a65ffaf9273f9def910c06b3fc585fdef6cce6
- 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: I3fc1dd06c176c7004974b9cd989208f4ba7a37f2
* Update openstack-ansible-tests from branch 'master'
to 20b54d669b5fee703aead919cc7a8a096300c26a
- Bump ansible version to 2.12.6
Change-Id: I55b12210a83b50deb2524d6b8face57800fbcdb4
* Update openstack-ansible-tests from branch 'master'
to 5371795f68dd40234c1db5458f9cb5949155d1c2
- Provide opportunity to override TESTING_BRANCH
Since OSA has trailing releases, we might want to override branch we're
testing. At the moment it's set based on the .gitreview file.
At same time we temporary override branch to yoga, as deploying from
master breaks installation.
Change-Id: Iacef9bec9ab8f2f15a56e3d95f71734277d7a8c7
* Update openstack-ansible-tests from branch 'master'
to b4c12a25c76e9d563b68109a17d0af2d8564ed28
- Update tests for Rocky Linux
Change-Id: Ia2d5e704d3d4918f8d55f2102a3c4bef59dab303
Signed-off-by: Neil Hanlon <neil@shrug.pw>
* Update openstack-ansible-tests from branch 'master'
to 52acfb2c8196d52de0af9c9332943003b7f4c06c
- Disable setuptools auto discovery
Jobs are broken due to a release of setuptools 61.0 introducing
non-backwards compatible breaking changes [1]
Setting py_modules to an empty string here will disable autodiscovery
and should permit jobs to run as before.
[1] https://github.com/pypa/setuptools/issues/3197
Signed-off-by: Neil Hanlon <neil@shrug.pw>
Change-Id: I64c2850b6a414c68277270952676518aa7aaa85b
* Update openstack-ansible-tests from branch 'master'
to 5da5356b43266dbb41692b27925c631dde5c18bd
- Add ansible.utils collection requirement
ipaddr filter has been moved from netcommon to utils collection [1]
Based on that we must add that collection to requirements.
[1] db4920ebf6
Change-Id: Ifb7a043ce7c6a12c413641dde61c170ae9327dc4
* Update openstack-ansible-tests from branch 'master'
to 32d88bd7f22eeb405443feba3772c86ebb1abda5
- Merge "Do not syncronise DB/MQ/Service setup tasks to other roles"
- Do not syncronise DB/MQ/Service setup tasks to other roles
These tasks are now available as roles in the openstack.osa collection.
Change-Id: I6096506967d288d67b47b442bbb13c31f6ccde63
* Update openstack-ansible-tests from branch 'master'
to 9aa9119a6a3b32c7dae6e5d275c6d07390fa9753
- Update ansible lint version
Change-Id: Ia01458f1f6183dd7d68e64645ad3829f2969e33b
* Update openstack-ansible-tests from branch 'master'
to 57c07c0199e014f6aa0d6879085c427e74ac388e
- Fix rich version for ansible-lint
Ansible-lint prior to v5.3.1 has issue with reach version >=11.0.0.
In order to cherry-pick fix to stable branches we fix rich version.
We can't use requirements as rich is neither in blacklist nor in
global-requirements, so must be handled independently
This should be reverted with ansible-lint version bump.
Change-Id: I7ad62182178dd1eb285d6002b2852b457f678c7b
* Update openstack-ansible-tests from branch 'master'
to 9044f2175650203e74a5660cc6ac74eaaf4401ba
- Clean out unused legacy tests
Remove job definitions for gentoo and bionic and any others which
are not used elsewhere in openstack-ansible.
Depends-On: Ic53886ee1833469daef0b31a46ea361e449d7697
Change-Id: I1fb55fd1f476139fcd4cc0b6c68b291454160132
* Update openstack-ansible-tests from branch 'master'
to 69b7fcc53c293b3448ec0c6f95b3c143051fd921
- Merge "Allow to provide policy state"
- Allow to provide policy state
It might be desired by deployer to remove already applied policy.
For that policy state should be explicitly passeda as absent
for the module.
Change-Id: I0db1e23ca0edf65aa1b4c8ca20153337044b6c4c
* Update openstack-ansible-tests from branch 'master'
to f0f24a9ecc1d58093cc8a0aac15ab9a7e43c4a95
- Add config_template to collections
Change-Id: I59e3e142363a9d254f70881d153bedc326fb8094
* Update openstack-ansible-tests from branch 'master'
to a238a9a5c63dbe0247b79f33725a69643b18095c
- Merge "setup.cfg: Replace dashes with underscores"
- setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I150f3362a3790ad6db4da443f582671e6d909f4b
* Update openstack-ansible-tests from branch 'master'
to 9ef85442ba6725dbe203de278f4731e2dbd178c6
- Merge "Remove linters from openstack-ansible-role-jobs"
- Remove linters from openstack-ansible-role-jobs
Once we've moved almost all repos to integrated linters jobs,
we shouldn't include linters inside functional tests template.
Change-Id: I890529cdd2fe3918e9d97e918da303c929dfe07d
* Update openstack-ansible-tests from branch 'master'
to 3afe3b7448c57cd0bbe386c5a79fd9e5bf569a51
- Add ansible-role-pki to required-projects
Change-Id: Iba078102bdf5a7e7929a07ddfe9b73a63a70536f
* Update openstack-ansible-tests from branch 'master'
to 7da3518bf4ccaf09b9dccb3398684b47ee14824a
- Bump ansible-lint
Since role-name (106) test has been added metadata tag in
ansible-lint 5.0.9, we shouldn't exclude it explicitly.
Change-Id: I84f8a97ecce0eebf1f0fbb5c8a4fc433eedc34fd
* Update openstack-ansible-tests from branch 'master'
to 2030d6d1ac243c9216184532682622b80e12586e
- Add role-name lint check to warnings
role-name check is new one, which verifies role name regexp according to
the ansible guide [1]
based on the meta file, but does not have metadata tag on it.
[1] https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#roles-directory
Change-Id: I2dc887a3932e40f634f3bcb0aec46faf314f1907
* Update openstack-ansible-tests from branch 'master'
to d88998cd686d67efc5b7ce3c23353ef2c257eefc
- Bump ansible-lint and ansible version
ansible-lint 5.0.9 has merged our NoLogPasswordRule [1]
APTRepositoryCacheUpdateRule is not relevant since
ansible fix has been merged for several years now.
Also ansible-lint provides yamllint check.
This means, we shouldn't really carry custom lint
rules and can jsut use upstream ones.
We also update ansible and collections version to
match with the integrated repo.
[1] 8bef056d69
Change-Id: Ie85d6d0a17849bbc665a7f49644c38b5f6a96bb2
* Update openstack-ansible-tests from branch 'master'
to efd8b4a1a43897f1fc73a82bca8bfeb67fc74587
- Merge "Use ansible_facts[] instead of fact variables"
- Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: I9841e5b7f32f452b7da0c643cb6c3e0e30d9e413
* Update openstack-ansible-tests from branch 'master'
to 7013ee811e99dcbca828e8a1ddd7afd86efdd588
- Set buster job to NV
Recent nova does not support libvirt version that is provided in
Debian Buster, so we setting job to not voting.
Change-Id: I2c0bcbcfe1f8b4bee60a6069e4b2417ad5f67cf6
* Update openstack-ansible-tests from branch 'master'
to be89e1210f4dc1318e3bef90eb6809decfa972ef
- Merge "Run notify setup when setup_host differs"
- Run notify setup when setup_host differs
There's a usecase, where all datasets might be the same, except
setup_hosts. For example, when we use isolated rabbitmq cluster for RPC
but shared one for notifications. And we have same set of users
and vhosts there. In current state setup won't be performed, since
vhosts and users are the same.
Change-Id: Ib5c44327d5f1edc25bace79fdd057adabb0b4c14
* Update openstack-ansible-tests from branch 'master'
to 7466bc9309f38a238b3511072f3da7bf8a7f3d59
- Add is_metal variable
In functional tests, comparing to the integrtion ones, dynamic inventroy
is not used. Thus, ``is_metal`` variable is not defined, and we rely on
it in some roles.
To cover the gap, we're setting a variable based on the ansible_facts for
functional tests only.
Change-Id: Ifc9bb5bb65d599a39f562faaaa14a0756e493ba1
* Update openstack-ansible-tests from branch 'master'
to 567aa743194453b789704b363d646281625ef7c9
- Fix vagrantfile config
fix the config for focal
Change-Id: I9d73211137c1fc409db7f98e17416d90ec04fc96
* Update openstack-ansible-tests from branch 'master'
to 5e46a70a74c34efc4bbecfd1f113796abd1de7de
- Merge "Clean up code from unsupported operating systems"
- Clean up code from unsupported operating systems
Remove SUSE, Gentoo, and references to yum package manager.
Change-Id: If591661b4145219f7837960f93bc9647b60d2a70
* Update openstack-ansible-tests from branch 'master'
to 3512171e4f24f8f1190744a01b55ef2194a35610
- Merge "Adjust modules path for Neutron test containers"
- Adjust modules path for Neutron test containers
Current path uses a symlink which the LXC process refuses to
bind mount due to security checks.
Change-Id: Ifcb368dedc70aab2cf0c2a86de233939aaba29f9
* Update openstack-ansible-tests from branch 'master'
to a8c775dfda2e31f2092ab4f8d1f51c8fe4f34b53
- test-ansible-env-prep: simplify ara setup
The intent was to be able to test easily with Depends-On patches with a
repository prepared by Zuul but ara is being retired from
opendev.org/recordsansible/ara and will no longer be available at that location.
Change-Id: I961f58d5b24aa5e11e2a4db39f2daff3c8330063
* Update openstack-ansible-tests from branch 'master'
to 7fb5312be3190306eaebf92b30c339c486c074cd
- Unpin virtualenv version
This is required to allow the latest cryptography wheel to be
installed from pypi
Change-Id: I351b3f2ae458abc14a899768a04999ca10c86ea4
* Update openstack-ansible-tests from branch 'master'
to 312512da5c97bef627ccb9f02d860b6ab354a994
- Bump ansible-base to 2.10.5
Change-Id: Ia929f3216c48d6a953f6233ddb29a58843ec14cd
* Update openstack-ansible-tests from branch 'master'
to c4da0647b96d6a17e65ffb9c4c0db4cb88f0b976
- 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: Ie904f147076463309c05faeb1dcef1677432a7e1
* Update openstack-ansible-tests from branch 'master'
to 2c902788de3d8f995e72cdf4cd356c8fb7eeac9d
- Use setuptools constraint from global-requirements-pins rather than u-c
With the new pip resolver, if a package is constrainted to two
different versions simultaneously then the package cannot be installed.
setuptools has a constraint in both OSA global-requirement-pins and
openstack upper-constraints, so the installation will fail with the
new resolver.
This patch removes any references to setuptools from openstack u-c
and allows the constraint from the OSA repo to be used.
Change-Id: Ib4c3592184973ba9908a1ba17d935a96448969a1
* Update openstack-ansible-tests from branch 'master'
to 07cd16d016ccdd15de2609ee43bae65084eaa48b
- Run linters job on a focal node instead of bionic
Change-Id: I3164b67fdbd53e794f9ad53f73569fdaa7f22047
* Update openstack-ansible-tests from branch 'master'
to 95576b98397e307223c56ba8fc2bebbd0fd1c6d3
- Bump ansible collection versions
Pick up the latest version of the collections and move openvswitch
to download from github rather than galaxy.
Change-Id: I4a58bf3161355d915a1fdc33e72e244524edc7ab
* Update openstack-ansible-tests from branch 'master'
to 2f89be9cbeb1507545f5de1ddabca36c0fa8cabf
- Bump ansible version to 2.10.4
Change-Id: I892c3673a167fff17a720101b301b48485fb2bd5