2786 Commits

Author SHA1 Message Date
7798b495cb Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: Ifba45404d3c12427fc80e3d7cdab11b357d358ac
2025-03-18 17:21:27 +00:00
Riccardo Pittau
e0272c252b Remove ubuntu bionic support leftovers
Bionic is not supported anymore since a while, making it
official.

Change-Id: Ica4f61460b72f4f085bcc5666b9cab571b75c247
19.2.0
2025-02-26 10:38:28 +01:00
Zuul
4f2f394e56 Merge "CI: Update previous release for upgrade jobs" 2025-02-12 22:41:15 +00:00
Zuul
91fd63a7ca Merge "Remove workaround for installing Ussuri and older" 2025-02-12 22:32:01 +00:00
Zuul
db2ba1a7b5 Merge "Update uuid to id in node_info to match module change" 2025-02-03 16:34:30 +00:00
Jacob Anders
e641f7e121 Update uuid to id in node_info to match module change
Due to change in ansible-collections-openstack baremetal_node_info
module introduced by commit 902b2f8, node UUID is no longer stored in
`uuid` field and `id` is used instead. Due to this  deploy-dynamic
playbook  may no longer work in certain scenarios. This change updates
the field to match the ansible module.

Change-Id: I3e830e1c6caa85437c4aa6fbc95e5d384ee9562d
2025-02-03 11:56:04 +00:00
Jacob Anders
196a5876d6 Fix typo in CLI parameter spefifying config drive.
Bifrost CLI takes `--configdrive` parameter while the documentation
states `--config-drive`. This commit fixes the typo.

Change-Id: Id1417f65e4e32183c21df62f65e73e4fc04afca7
2025-02-03 11:24:50 +00:00
Riccardo Pittau
bf14155b8f Fix ansible linters
The ANSIBLE_COLLECTIONS_PATHS has been deprecated in 2.19 and
changed to ANSIBLE_COLLECTIONS_PATH

Change-Id: I6491a6807b822be780ba9265863548774cfbe70b
2025-01-31 15:15:38 +01:00
Zuul
602b305912 Merge "Add support for Ubuntu 24.04 image download" 2025-01-06 13:58:51 +00:00
Pierre Riteau
27011e03ba Remove workaround for installing Ussuri and older
This reverts commit cd3fcafbbe38853163de9214b6e91110dae7c672.

Change-Id: I4420680d1e4d962a5a1baa2af1f26df0db37c3bb
2024-12-20 11:20:18 +01:00
Pierre Riteau
fee32be385 CI: Update previous release for upgrade jobs
The bifrost-upgrade jobs should upgrade from 2024.2 (Dalmatian).

Since the upcoming 2025.1 release (Epoxy) is a SLURP release, the
bifrost-slurp-upgrade job should upgrade from 2024.1 (Caracal).

Change-Id: I8efff0f9fed47f4d6102a663bee2597b41466299
2024-12-20 11:10:34 +01:00
Pierre Riteau
10be6e7920 Add support for Ubuntu 24.04 image download
Change-Id: If99cfda4ada97ea0ee6a78f8df9914f70ab20ec6
2024-12-09 17:58:00 +01:00
Erik Berg
76f82acff8 Use python version to set DEFAULT_PIP_ANSIBLE
Instead of assuming the python version based on the distro, we
check the python version. (Check borrowed from bifrost-cli)

This patch defaults to the newer ansible version, and if python
is old, we override it with the old ansible package.

This lets us install on the RHELatives like Alma and Rocky, which
the current check is preventing.

Change-Id: I47413eab8c5132ab3201b4c7197ec15c17d18e12
2024-12-01 13:19:50 +01:00
2d6ccc2b32 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: Ifebb6ec0e4b302fb8bccf871f49d8fc4af016cfb
2024-11-29 07:53:10 +00:00
Zuul
31971615eb Merge "Add support for Ubuntu 24.04" 2024-11-18 13:27:37 +00:00
Zuul
daa9f812f8 Merge "Remove Python 3.8 support" 2024-11-05 13:28:25 +00:00
Zuul
2d21c3bca6 Merge "Switches to using CentOS Stream latest" 2024-11-05 13:28:23 +00:00
Zuul
5503696bb4 Merge "Fix checksum parsing for Cirros and Rocky Linux" 2024-11-05 13:28:21 +00:00
Dmitry Tantsur
0b1cde9279 Add support for Ubuntu 24.04
Depends-On: Ie5b2265d7afc8b71fabfca6ca6687e0e34ce3b5b
Change-Id: I699d26d44e2cb8b40f3f87557762c696ea9a7ac8
2024-11-05 09:37:06 +01:00
Takashi Kajinami
e631249a25 Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: Id6ebe6cb306e8f73d93701333da9b2eff76c849d
2024-10-24 21:21:01 +09:00
Will Szumski
2b826730e1 Switches to using CentOS Stream latest
The old pinned image no longer exists. Switching to the latest image to
match Rocky and Ubuntu. This also avoids issues when old images are
removed.

Change-Id: Ibcecffe6d750b9c8a2e420276701d85c6caf130b
2024-10-23 10:29:20 +00:00
Will Szumski
7446da03e8 Fix checksum parsing for Cirros and Rocky Linux
For Rocky Linux, the checksum file format differs from Ubuntu.  The
current awk expression failed to extract the correct checksum and would
instead output SHA256. This caused checksum validation to fail. A
similar issue exists for CirrOS which uses the MD5 algorithm.

Changes the logic to first extract the line with the corresponding
image name and then searches for a string that looks like a checksum
within that line.

Closes-Bug: #2081031
Change-Id: Id426db0ad418898a2ebe9f2b5001945520dc6b1d
2024-10-11 13:00:13 +01:00
Zuul
6233f55151 Merge "CI: pin the benchmark job to ubuntu-jammy" 2024-09-24 10:43:16 +00:00
f6762691d4 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: I588c7db8c9e8900dd21c9b6420213fca2ef3e69a
2024-09-20 13:50:26 +00:00
Zuul
7b5773450c Merge "Fix missed occurrence of SETUPTOOLS_USE_DISTUTILS" 19.1.0 2024-09-19 17:38:11 +00:00
Zuul
331d2bccb4 Merge "Support OVMF with 4M flash storage" 2024-09-19 17:17:12 +00:00
Zuul
4fb02a9a11 Merge "Restart systemd services on failure" 2024-09-19 13:44:54 +00:00
Dmitry Tantsur
46e23a1c37
Support OVMF with 4M flash storage
This paves the way for supporting Ubuntu 24.04 eventually.

Change-Id: I920fc637f594d1278b5ca2b88a54c0dce1a5892a
2024-09-18 14:35:42 +02:00
Dmitry Tantsur
20835d20b9
Fix missed occurrence of SETUPTOOLS_USE_DISTUTILS
Change-Id: I325d146b829d84abdb01932b02ebab81315e45c5
2024-09-18 14:34:06 +02:00
Dmitry Tantsur
f1a6632571
CI: pin the benchmark job to ubuntu-jammy
The default is 24.04 "Noble" which does not work with Bifrost yet.

Change-Id: I6bb99402190712852bdfe7f83df32c12390cca85
2024-09-11 12:47:22 +02:00
Zuul
a453e2cfe2 Merge "Refactor the use of include_vars" 19.0.0 2024-08-26 14:28:28 +00:00
Zuul
1c95336154 Merge "Test 2 major ansible versions" 2024-08-13 00:31:58 +00:00
Zuul
350d5a0e13 Merge "Enable configuration of firmware_interfaces during install" 2024-08-08 14:55:39 +00:00
Jacob Anders
1e4a29a511 Enable configuration of firmware_interfaces during install
This change adds automatic configuration of enabled_firmware_interfaces based
on the enabled_drivers parameter passed during installation.

Change-Id: Iab8b4324a53e4764edd1994d1fb9f7fb24e2e939
2024-08-08 13:04:03 +10:00
Riccardo Pittau
1065dec797 Test 2 major ansible versions
We keep testing Ansible 8.x in CentOS Stream 9, while we start
testing Ansible 9.x in ubuntu and debian.
This is mainly because in CentOS Stream 9 we have Python 3.9
but Ansible 9 requires at least Python 3.10.

Change-Id: If2fcae6eb3d00a7488fd237ae155c337c0747e20
2024-08-06 17:53:14 +02:00
Zuul
50a0b4c2a2 Merge "pip: Use SETUPTOOLS_USE_STDLIB if python < 3.12" 2024-08-05 15:59:05 +00:00
Zuul
dbca02c31c Merge "Update min required pip version to 22.3.1" 2024-08-05 15:59:03 +00:00
Riccardo Pittau
ddb3ed905b Remove unused get_md5
It's unused and it will be removed in Ansible 9.x

Change-Id: I66b314c9d71084f4636aa50c62ef8a216979e5e5
2024-08-05 07:54:03 +00:00
Riccardo Pittau
81033084f8 Update min required pip version to 22.3.1
This should fix some random failures when installing packages
due to version resolution.

Change-Id: Ie42bb4f83b018e3bf11315ac4069f6ca4797fec7
2024-08-02 16:54:11 +02:00
Michal Nasiadka
9825fecf38 pip: Use SETUPTOOLS_USE_STDLIB if python < 3.12
Currently using bifrost on Python 3.12 fails installation due to
usage of that env variable.

Change-Id: I4a6ba9bac2d134b22675fc56aa5dc4f51e71753c
2024-07-24 09:14:56 +00:00
Will Szumski
a9dc56f4b9 Fix leading and trailing whitespace in inspection_callback_url
This was templating as: " https://1.2.3.4:5050/v1/continue ". We can
remove this using the whitespace control modifiers from jinja, see:

https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control

Closes-Bug: #2072550
Change-Id: I45be2ddfb48004c9b880bd4b4627b2cf26a83616
2024-07-19 10:13:19 +01:00
Riccardo Pittau
cebecff3cc Remove CentOS Stream 8 leftovers
And yes, even some CentOS 7 ones

Change-Id: I5df83ec54ecd7b8b363900d7ec7ada1ed9de0f5a
2024-06-26 15:56:20 +02:00
Zuul
cd947080ad Merge "Fix codespell reported errors" 2024-06-12 14:54:18 +00:00
cid
fb5e4cdfaa Fix codespell reported errors
Fix and ignore spelling errors raised by codespell

Change-Id: I70635e43b065f757a61b78ae12811cb582856bcb
2024-06-04 12:50:39 +01:00
Riccardo Pittau
797d622f3d Update supported Python versions
Minimum supported Python version is now 3.8

Change-Id: I55464209f0c876bf42af3c2f6976730c1739a0b6
2024-05-29 11:37:47 +02:00
Erik Berg
b1f70ce6bf Refactor the use of include_vars
Move remaining os-default files to vars directory, where the
include_vars expects them to be.

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: I49c041b2217c51048fa182106009d334b6b38f6f
2024-05-21 08:31:37 +00:00
Erik Berg
e0a5a7216d Consolidate centos/fedora/redhat required_defaults
There's very little difference in the package lists. I'm just
guessing there, but I believe g++ and xml2/xslt devel packages are
for working with libvirt, and the python3-selinux either comes
pre-installed or is installed at some earlier point by other
playbooks.

Change-Id: I5865c65cae695491524a8828c8abb48393a197a0
2024-05-20 15:27:55 +00:00
Zuul
38ac4344f1 Merge "Remove last traces of ubuntu focal" 2024-05-13 16:03:54 +00:00
Igor Kádson
4b1aa027f8 Update deprecated config in troubleshooting
This commits updates the deprecated config option agent_pxe_append_params

Change-Id: I494f823f5da1dee2885fba337acbc2e4e3872181
2024-05-09 17:56:03 -03:00
4c8c2406f7 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I2dd0bb5b7aaf29186622ac5976b9b47952f62263
2024-05-06 06:21:17 +00:00