Wraps `wget` command with sleep and mutiple retry
support for resilient network downloads and replaces
git clone with direct tarball downloads where possible.
Closes-Bug: #2098417
Change-Id: I49435f5c1a7c0628e4eb7e824322d4e1f2938588
The deploy image is getting larger and larger, by specifying a higher
compression level, usualy we can save a couple of MB. Smaller image
has higher performance when deploying nodes with PXE.
This patch changes the default compression level to 9 to have the
minimum image size.
Change-Id: Id20292e73796b2c0d72a4d3f5279e02fc3a2757a
Ironic-lib code has been rolled into Ironic-Python-Agent and Ironic
where used; we no longer should support installing ironic-lib on master
versions of IPA-builder.
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent/+/937743
Change-Id: I29acfa275adc6aa3ec187883e6a096bf4038e9f6
The publisher ID generated by Ironic (using oslo.util) is actualy in lowercase,
hence it will never match publisher ID generated by udevadm (uppercase).
In order to compare these strings without case conflict, we put both in lowercase.
Closes-Bug: #2085355
Change-Id: I501c8b46128de38c634b1c159a40ffb0d7a64f4c
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: Ia9b6c4211bc920dce9b8b387155cf53366ea186d
At this point, we are no longer supporting Centos7 ramdisks
and don't need to have extra logic to navigate the difference.
Change-Id: I9027b45f1f77f2cd188a8c5eed2ef082c3abdd09
Take a publisher ID and match it for mounting configuration drives
to prevent the wrong device from being used.
Change-Id: Iafa77d9213eba864ca6dfa2d56d294e6ef4d2cd4
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
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
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
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
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
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
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
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