Commit Graph

409 Commits

Author SHA1 Message Date
OpenStack Release Bot 6fdaa6fabc Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I844d71c552a6faf98f6ded9dd060161ecd79577b
2024-03-19 11:10:24 +00:00
Zuul 711899e575 Merge "reno: Update master for unmaintained/xena" 2024-03-14 11:57:56 +00:00
OpenStack Release Bot 4b48bc311f reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I00a37dc792fcb7e5866c492a63145f86ec3ea252
2024-03-14 11:26:44 +00:00
OpenStack Release Bot 53030729dd reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I6f011c9b9caecbd533a31850601e441c7c0363e5
2024-03-14 11:22:11 +00:00
Riccardo Pittau 1d2877e872 Update ipmitool version to 1.8.19
Change-Id: I75f6347a525bd30ad4d0cfe28c767620a9fb5aa5
2024-02-27 15:31:09 +01:00
Riccardo Pittau dfd24a946e Update link to ipmitool repository
IPMITool is now hosted under https://codeberg.org/IPMITool/ipmitool.git

Change-Id: I64388569f09e95736376659e2921689b2a604814
2024-02-27 09:32:07 +00:00
Riccardo Pittau 99adeec0d7 Update tinyipa to tinycore 15.x
Tinycore 15.x is out!
https://forum.tinycorelinux.net/index.php/topic,26861.0.html

Change-Id: I0779c6ae783ddf2d0d102a85fdd2d4db474d8eaf
2024-02-26 14:45:20 +01:00
OpenStack Release Bot efe4b0d7f2 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I239c1b3936b88b1bc636d92ea7852ca0e8c835e1
2024-02-06 15:03:29 +00:00
Zuul 1e5a1166dc Merge "[codespell] Adding CI target for Tox Codespell" 2024-02-01 00:44:15 +00:00
Zuul 800c6040fb Merge "[codespell] Adding Tox Target for Codespell" 2024-02-01 00:44:14 +00:00
Zuul a00debaadd Merge "[codespell] Fixing Spelling Mistakes" 2024-02-01 00:44:13 +00:00
Takashi Kajinami beabe8591c Bump hacking to 6.1.0
... which is the latest version available now.

Change-Id: I0829b8aa90d66037c9fa7d803203b835f8735414
2024-01-29 18:28:06 +09:00
Sharpz7 1458cbabd4 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Ica261e5e528bde8ec4f1627f3560e8c2022e3370
2024-01-26 04:11:47 +00:00
Sharpz7 da3fccba48 [codespell] Adding Tox Target for Codespell
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors.

Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Ie6d9f79138c39a530daeb471b2cf4a9bf19b5a98
2024-01-26 04:11:43 +00:00
Sharpz7 a48825d260 [codespell] Fixing Spelling Mistakes
This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.

Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I6ce80cc993cdd4c8d38266f3ff3f8f134f0fc5a9
2024-01-26 04:11:31 +00:00
Zuul bdbbc53885 Merge "Drop TripleO job" 2024-01-16 23:38:28 +00:00
Zuul 0b05bfc1bb Merge "Switch IPA building to Debian Bookworm" 2024-01-16 23:34:58 +00:00
Takashi Kajinami e392a47c13 Drop TripleO job
The TripleO project has been deprecated and its master is no longer
maintained.

Change-Id: Ie7af68c26fcc345ca8f67ba437a0a9e83c12a6cf
2024-01-02 22:43:45 +09:00
Zuul bf7fa6a615 Merge "Always generate checksum files on image builds" 2023-12-13 14:31:17 +00:00
Dmitry Tantsur 2a1c289cc5
Switch IPA building to Debian Bookworm
Bullseye has a broken lshw [1] so it will not work.
Fixes an issue with the firmware repo renaming in Bookworm.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002025

Closes-Bug: #2043112
Change-Id: Ib0cb156b72e6fa90e1530796e81a9a41ffa9e54f
2023-12-08 15:43:55 +01:00
Dmitry Tantsur 9da0cf41d4
Fix building images for Bullseye and Bookworm
Bullseye requires installing lshw from backports because the default one
has broken JSON output:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002025

Bookworm requires installing firmware from a different repository.

Change-Id: I1bfecfcaff1547f99fcb48cc54b8f7ff77f0b0d9
2023-12-08 15:38:23 +01:00
Steve Baker 055c999af9 Always generate checksum files on image builds
Checksums are good, lets provide them.

Change-Id: I5d79f3800966dc8e49a892f1097dcbde619ef9a3
2023-11-23 09:03:57 +13:00
Zuul 123c430db2 Merge "Remove USE_PYTHON3 option" 2023-11-12 23:41:51 +00:00
Jay Faulkner 572b780345 Add link to LP bug tracker
IPA-B has an LP bug tracker now; point to it!

Change-Id: Id8ec4f6bc73326496c13258955554cfbef9c8047
2023-11-08 10:48:29 -08:00
Zuul 095707537e Merge "Use systemd-networkd for debian" 2023-11-03 09:28:15 +00:00
Julia Kreger eeeaa42b79 Remove USE_PYTHON3 option
The USE_PYTHON3 option has been defaulted to true for
some time, and is no longer used. It was initially added
to enable adoption of python3, we have long moved past
needing to choose between python2 and python3, and
default on python3.

Also, since python2 is no longer supported, this makes
the code cleaner to read.

Change-Id: Ia9e62634c954446b0b47067fcdcd28cac49fbf4b
2023-11-02 14:43:00 -07:00
Damien Rannou 112157b1a9 Use systemd-networkd for debian
Moving from networking to systemd-networkd for debian
Original networking is not capable to natively manage down/up on
interfaces that is necessary for rescue

Change-Id: Ia6e2f217bd3222641cc1c97931e776e7fb717755
2023-10-19 09:11:32 +02:00
Zuul 32fe65295b Merge "'sudo' group different between RH and Debian" 2023-10-18 17:59:06 +00:00
Damien Rannou 9aaf0ded2f 'sudo' group different between RH and Debian
When creating the rescue user, check if we are on Debian or RH based
in order to use the right sudo group

Change-Id: I894f47a1eb0ecbccbecc0900980de7ad9da72425
2023-10-18 15:55:06 +02:00
Julia Kreger 732852f31f CI: Change image-build to use Ubuntu Jammy
It appears openstack/project-config is still set to focal for image
artifact builds/uploads. After discussing with opendev infra team,
we think we might be crashing the host vm on the focal kernel
leaving us with minimal information to troubleshoot.

The cleanest path forward is to match what we run the check job on
which is Ubuntu Jammy, as a data point before we change the overall
project-config.

Change-Id: I9d6581132569b4a921e8cbc0a1b10c73a6aeba0d
2023-09-21 10:29:28 -07:00
OpenStack Release Bot 3311c9b541 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I3f44e26bf28da82d88a03995856c0837ceae0052
2023-09-21 11:23:34 +00:00
Zuul 7c2e1b341d Merge "Exclude .pyc encoding files." 2023-08-28 14:24:47 +00:00
Illia Polliul ab1992b528 Exclude .pyc encoding files.
We use IPA ramdisk image as a minimal operating system to execute firmware updates for disks/NICs, i.e. things that cannot be updated through BMC. This requires the ability to run Ansible.

Closes-Bug: rhbz#2234514
Closes-Bug: 2032981
Change-Id: Ic6fbc5f48ddd385a9bbbbabebe0a2c5980142c6f
2023-08-25 10:35:48 +00:00
Riccardo Pittau b5974ad713 Build tinyipa with tinycore 14.x
- update kernel module versions
- mount efivar partition manually as it's not done automatically
anymore in recent kernels
- link /bin/sh to bash as it's not done automatically anymore

Change-Id: Ic17ffa07e8429a88326f70addda7eebd2a6dbef6
2023-08-01 17:15:53 +02:00
Zuul d2b8115631 Merge "Extend the DIB_CHECKSUM variable usage" 2023-07-08 20:10:22 +00:00
Riccardo Pittau 241d14cd24 Remove outdated install pyyaml with pip2
We don't support python2 since a while

Change-Id: I430ba8f86883b233b975f615e0e50b01e22c66e6
2023-06-19 10:48:21 +02:00
Zuul 612ce753c5 Merge "Add libaio engine for fio on Centos/Rhel9" 2023-06-06 21:58:19 +00:00
Julia Kreger 1c1b8cf663 Add libaio engine for fio on Centos/Rhel9
fio packaging previously contained everything in one RPM,
but at some point for EL9 builds, this was split into multiple
RPMs where each engine used was put into it's own RPM.

In order for integrated disk benchmarking to work with
introspection, we use python-hardware. Python-hardware uses
fio, with libaio as a default option.

So now, we will attempt to install the other package which
should make users of the feature happier as their ramdisk
images will come with the contents required to do a benchmark
upfront.

Change-Id: I2028ac1cf350d86903a33e4bd91c209887de1e5c
2023-06-02 06:44:29 -07:00
Maksim Malchuk e118104f98 Extend the DIB_CHECKSUM variable usage
Followup on I2dd1c60e3bfd9c823a7382b1390b1d40c52a5c97

Change-Id: I5e2d454fb84b76810f3c5ed26a0caeef8ea06675
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-05-24 23:43:53 +03:00
Zuul 4969f5a1f4 Merge "Add a non-voting ubuntu arm64 build check job" 2023-04-27 17:11:17 +00:00
Jay Faulkner f99b3da74b Update pep8 deps - including hacking v6
Upgraded to latest hacking. Also had to bump the upper limit for
pycodestyle to be in line with other repos in order for pip to be happy
installing new hacking.

Change-Id: I4fd9e1e135b6759738f7faecfe8a8a046274d566
2023-04-21 12:36:13 -07:00
Riccardo Pittau 607ecace37 Add a non-voting ubuntu arm64 build check job
Adding it non-voting for the time being as the standard ubuntu
build check job is also non-voting

Change-Id: I3c166dca2db48546dd18f975ef761552f9d40cdc
2023-04-19 16:56:55 +02:00
Riccardo Pittau 8cad404502 Move ubuntu jobs to jammy
Remove focal support
This is long due

DO not use tmpfs to build the jammy image, use the disk space instead.
This is to avoid increasing the tmpfs mounted partition, we have 80gb
disk space available.

Change-Id: I6d6ebbb217886ed0e65137b8c8f0825d97abec81
2023-04-12 13:57:53 +02:00
Riccardo Pittau 5cb6910043 Add the option to not use tmpfs to build dib images
Currently the dib images are built on tmpfs mounted partition.
As the images become bigger and bigger we may want to use disk
space instead of increasing the tmpfs, considering that a
standard VM in CI has around 80gb disk space while only
8gb of RAM.

Change-Id: Ifbb1f38700e6b57e1da7be80c27c532aa9949493
2023-04-12 13:32:22 +02:00
Riccardo Pittau f997078c99 Collect disk usage info post CI jobs run
Add extra-logs playbook to collect more logs in the post phase.

Change-Id: I4f9144f45a8c38b098ed67b2fdacffd3a596ae0d
2023-04-12 13:19:46 +02:00
Zuul aa1757438d Merge "Remove ussuri CI jobs" 2023-04-05 19:12:04 +00:00
Riccardo Pittau cee31aad80 Remove ussuri CI jobs
Also remove ussuri exception for tinyipa build

Change-Id: Ibec5c50472901e71b275288302d63fe8824df853
2023-04-03 17:17:32 +02:00
Steve Baker 59d79f6ccd Add checksum generation support
DIB_CHECKSUM is set by the disk-image-create --checksum flag, and for
other images results in checksum files being generated for the
image[1].

This change ensures checksum files are generated for built
ramdisk/kernel as well.

[1] https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/lib/common-functions#L68

Change-Id: I6128fbad5d9db2ea6469f196f3ee13b6fab76837
2023-03-23 13:36:45 +13:00
Zuul 1949d5c09b Merge "Add DIB_IPA_HARDWARE_RDO to define repo behaviour" 2023-03-21 12:41:48 +00:00
Steve Baker cb216b6cd8 Add DIB_IPA_HARDWARE_RDO to define repo behaviour
Currently the latest RDO repo is installed on centos9
for the python-hardware package. This would not be appropriate in the
following cases:
* When repos are copied in from the host via DIB_YUM_REPO_CONF
* When another element is responsible for setting up repos

This change adds environment variable DIB_IPA_HARDWARE_RDO, which will
only be set to `1` on centos9, when DIB_YUM_REPO_CONF isn't set, and
when the user hasn't explicitly set DIB_IPA_HARDWARE_RDO.

This retains the current default behaviour of just working, while
giving flexibility for repos to be set up another way.

Change-Id: I1cc0b9833baf642866e9762c6bae44360bffe20d
2023-03-16 14:42:20 +13:00