* Update ironic-python-agent-builder from branch 'master'
to 6fdaa6fabcafe023f8d157323cd1f37c0a32652c
- 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
* Update ironic-python-agent-builder from branch 'master'
to 711899e57523488a19220ecea6030aeb88ca40d7
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I00a37dc792fcb7e5866c492a63145f86ec3ea252
* Update ironic-python-agent-builder from branch 'master'
to 53030729dd5d383eeb6fc5364aa725daf7fd67b0
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I6f011c9b9caecbd533a31850601e441c7c0363e5
* Update ironic-python-agent-builder from branch 'master'
to 1d2877e8724bfd9930365a7197bf63ec7bd515d5
- Update ipmitool version to 1.8.19
Change-Id: I75f6347a525bd30ad4d0cfe28c767620a9fb5aa5
* Update ironic-python-agent-builder from branch 'master'
to dfd24a946e116cb5e73e47b3c7e30e27cfa0d828
- Update link to ipmitool repository
IPMITool is now hosted under https://codeberg.org/IPMITool/ipmitool.git
Change-Id: I64388569f09e95736376659e2921689b2a604814
* Update ironic-python-agent-builder from branch 'master'
to efe4b0d7f26b2408dd0c6101012b740a25909de8
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I239c1b3936b88b1bc636d92ea7852ca0e8c835e1
* Update ironic-python-agent-builder from branch 'master'
to 1e5a1166dc30d7a5d1875b01ae25f818292a332a
- Merge "[codespell] Adding CI target for Tox Codespell"
- [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
* Update ironic-python-agent-builder from branch 'master'
to 800c6040fb593765619adfb90977a1746a4de8a0
- Merge "[codespell] Adding Tox Target for Codespell"
- [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
* Update ironic-python-agent-builder from branch 'master'
to a00debaadd1996d3611c14eef73a4b8707d1b5b2
- Merge "[codespell] Fixing Spelling Mistakes"
- [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
* Update ironic-python-agent-builder from branch 'master'
to beabe8591c057a664c8332c173c78031f203b69f
- Bump hacking to 6.1.0
... which is the latest version available now.
Change-Id: I0829b8aa90d66037c9fa7d803203b835f8735414
* Update ironic-python-agent-builder from branch 'master'
to bdbbc538850548818e37ef94ca9ff3ebd959cbcf
- Merge "Drop TripleO job"
- Drop TripleO job
The TripleO project has been deprecated and its master is no longer
maintained.
Change-Id: Ie7af68c26fcc345ca8f67ba437a0a9e83c12a6cf
* Update ironic-python-agent-builder from branch 'master'
to 0b05bfc1bb1999aa743f4c1322f3ad65115aa412
- Merge "Switch IPA building to Debian Bookworm"
- 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
* Update ironic-python-agent-builder from branch 'master'
to 9da0cf41d446e11651a5bd8b111cfd13a02d76b6
- 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
* Update ironic-python-agent-builder from branch 'master'
to 123c430db2ba5218089f5e5c9e53de9779e0318e
- Merge "Remove USE_PYTHON3 option"
- 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
* Update ironic-python-agent-builder from branch 'master'
to 572b78034531e4c6f8c1532c48c2e5af9a0fff83
- Add link to LP bug tracker
IPA-B has an LP bug tracker now; point to it!
Change-Id: Id8ec4f6bc73326496c13258955554cfbef9c8047
* Update ironic-python-agent-builder from branch 'master'
to 095707537e7b4dabe4c0844594261103795f67f2
- Merge "Use systemd-networkd for debian"
- 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
* Update ironic-python-agent-builder from branch 'master'
to 32fe65295b09c348c1f10d4b2bd16e64147bd099
- Merge "'sudo' group different between RH and Debian"
- '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
* Update ironic-python-agent-builder from branch 'master'
to 732852f31fe595d54bb74b0b7f8cad4800b4352e
- 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
* Update ironic-python-agent-builder from branch 'master'
to 3311c9b5415d56f6b3a530dbd705f5e92a7cbdf2
- 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
* Update ironic-python-agent-builder from branch 'master'
to 7c2e1b341d6ddc8340b232be92b0e379ce861d41
- Merge "Exclude .pyc encoding files."
- 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
* Update ironic-python-agent-builder from branch 'master'
to b5974ad71311f2514b9524c9da63a948195452aa
- 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
* Update ironic-python-agent-builder from branch 'master'
to d2b81156318c04e468a5e43e94e92995f59777ab
- Merge "Extend the DIB_CHECKSUM variable usage"
- Extend the DIB_CHECKSUM variable usage
Followup on I2dd1c60e3bfd9c823a7382b1390b1d40c52a5c97
Change-Id: I5e2d454fb84b76810f3c5ed26a0caeef8ea06675
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
* Update ironic-python-agent-builder from branch 'master'
to 241d14cd2406a96fd83256e408b5106cf612d3b6
- Remove outdated install pyyaml with pip2
We don't support python2 since a while
Change-Id: I430ba8f86883b233b975f615e0e50b01e22c66e6
* Update ironic-python-agent-builder from branch 'master'
to 612ce753c522ebedab92e5f521992cc8a4963a0e
- Merge "Add libaio engine for fio on Centos/Rhel9"
- 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
* Update ironic-python-agent-builder from branch 'master'
to 4969f5a1f47b4b4083c111fe421331d3a4521580
- Merge "Add a non-voting ubuntu arm64 build check job"
- 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
* Update ironic-python-agent-builder from branch 'master'
to f99b3da74b15e41c143700946da5135aef0e840a
- 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
* Update ironic-python-agent-builder from branch 'master'
to 8cad404502ec975915127cf380b40633846cd394
- 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
* Update ironic-python-agent-builder from branch 'master'
to 5cb69100439e16afdf94f7d9acc0160936e208d7
- 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
* Update ironic-python-agent-builder from branch 'master'
to f997078c99515eb182b95e93161d134f78d119fd
- Collect disk usage info post CI jobs run
Add extra-logs playbook to collect more logs in the post phase.
Change-Id: I4f9144f45a8c38b098ed67b2fdacffd3a596ae0d
* Update ironic-python-agent-builder from branch 'master'
to aa1757438d5570ddfad36e829a54387542b06a31
- Merge "Remove ussuri CI jobs"
- Remove ussuri CI jobs
Also remove ussuri exception for tinyipa build
Change-Id: Ibec5c50472901e71b275288302d63fe8824df853
* Update ironic-python-agent-builder from branch 'master'
to 59d79f6ccd45e55ca72d7c971a74eb202702ce4e
- 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
* Update ironic-python-agent-builder from branch 'master'
to 1949d5c09b26d64771cc0e854c5f4c15e6152ea2
- Merge "Add DIB_IPA_HARDWARE_RDO to define repo behaviour"
- 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
* Update ironic-python-agent-builder from branch 'master'
to fee1da74eee6145c15aa231c4512ac4fb7a5ef5c
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Ib41330d3e654e71012e1e6a49ff34ab2984e3788
* Update ironic-python-agent-builder from branch 'master'
to 49367bc9d68719e159b0b8005b4eb9ccfb93b75c
- Remove /var/tmp/* from images
In some cases, things such as dracut regenerating the
initramfs file, may leave some artifacts in /var/tmp/ from
the ramdisk build. These are not needed and can be discarded.
Change-Id: Ibd2a61a7e42adfea868679c52c7a786d9aab1b36
* Update ironic-python-agent-builder from branch 'master'
to 9416e82903292bae08cabcc09f7e9707f36eb8b0
- Fix tox4 and setuptools errors
- Remove skipsdist that it was never supported and causes breakage
when used with usedevelop.
- disable setuptools autodiscovery
Change-Id: I3dd1ab78de71a2a2feb9e7d59612b5c2a09e1f4a
* Update ironic-python-agent-builder from branch 'master'
to 943b80c1a3f1183d9e44c78112668e7978474c48
- 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: Ie5d9ed7fdd15ed3d0e2ad0cb784af15e8f20169c
* Update ironic-python-agent-builder from branch 'master'
to a63bb7081c0e737562d86a43180080ccd1167079
- Merge "Document building an image with patches"
- Document building an image with patches
Change-Id: Ice5ffaa0b8eea9afacc58c64dcfdaa58d3147a26
* Update ironic-python-agent-builder from branch 'master'
to 9d5ce06ac02b715505e61fa1cb8d8c872431770d
- Merge "Remove support for openSUSE since Python 3.6 is no longer supported"
- Remove support for openSUSE since Python 3.6 is no longer supported
The conditions are left in the code in case someone somehow make it
work. We can clean them up later.
Change-Id: I65f6da0e90560c00eb82e8e4366fdaf3bbde8da1
* Update ironic-python-agent-builder from branch 'master'
to f5ef66e413c09a947978ab45ba3e2a06cd72fca6
- Merge "Add smartmontools package to DIB image"
- Add smartmontools package to DIB image
This package includes smartctl, which is necessary for ATA secure erase
disk cleaning.
Without this package, IPA will fall back to shredding ATA devices, and
you will lose hours of your life. Worse, until
https://review.opendev.org/c/openstack/ironic-python-agent/+/847591, the
lack of smartctl was silently ignored.
Change-Id: I6952b833e0be4a47e45e9c4d4459956093628b6a
* Update ironic-python-agent-builder from branch 'master'
to 43f2eae77382d8b95c5b95f0723b209c6251b9b7
- Remove some extra Centos Packages
Removes webkit and polkit from ramdisks which are not
operationally needed as we don't need to render web pages
in the ramdisk, and we don't need to do system wide policy
enforcement. This does chain them with || true, just to be
on the safe side as we're trying to opportunistically cut
excess cruft in order to save space overall.
Locally, these changes have taken the uncompressed ramdisk
footprint from 780MB to 730MB.
Change-Id: I402a60c61f1b88b98798d9fae52420b1ca256512
* Update ironic-python-agent-builder from branch 'master'
to d543aa8bf4eb09de6ee9174e35588f4c422b87fd
- Remove support for distributions with Python 3.6
IPA can no longer be installed on them, other projects will follow.
Leave the jobs in place for projects that consume them.
Publish Stream 9 images (we'll need to clean up tarballs.o.o later).
Also force using Python 3.9 for tinyipa.
Change-Id: I350c563c1c4ab60ac10d7c9e4bb0715bfde1b1db
* Update ironic-python-agent-builder from branch 'master'
to e5bf43c7911407a652220b70baa5357508ff0244
- Add multipath-io element
This commits introduces a new element `multipath-io`
that should be used when the system contains multipath devices.
Change-Id: I52761aecf0e17ed7482897b50a9b64ee514edfbe
* Update ironic-python-agent-builder from branch 'master'
to 835f6483d264db0b6c4fcfff74dd2a1f880e4351
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I34c29fb486962154532ca1c8751881533ff0fc67
* Update ironic-python-agent-builder from branch 'master'
to ab25ed462d659e333e51a54f4e344469ccf5dc39
- Update qemu version
Change-Id: I985064e7f5e3eae70b0bbccc022afba85416de3a
* Update ironic-python-agent-builder from branch 'master'
to 46e396af7b4551006910d510d3400073c4f5106b
- Merge "Make centos9 jobs voting, add to gate"
- Make centos9 jobs voting, add to gate
Change-Id: I56d271a6a512cb1967ac518c3165ee96ea1c4a8a
* Update ironic-python-agent-builder from branch 'master'
to 65fc08446ff5333ea72d6a4df1e07357371cc127
- Merge "Added element to enable RDO deps repo to install sysbench"
- Added element to enable RDO deps repo to install sysbench
In CentOS Stream/RHEL 9, synbench package is removed and
it is currently available and maintained under rdo deps repo.
Since sysbench is needed in extra-hardware element for running
tests.
This patch enables the repo to install sysbench.
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I8ebb405a1921282f49952e7cfdd19558ef7f1b1d