430 Commits

Author SHA1 Message Date
Zuul
72a02b7b68 Merge "Prevent service restart while in 'rescued' state" 2025-03-05 15:37:54 +00:00
Zuul
4dba6f4ef2 Merge "Change to maximum compression level when using lzma" 2025-03-05 14:41:45 +00:00
Zuul
4a9f329f69 Merge "fix: Adds bsdextrautils package for Debian which provides hexdump command" 2025-03-05 11:01:07 +00:00
Nicholas Kuechler
0b3f3dc110 fix: Adds bsdextrautils package for Debian which provides hexdump
command

Change-Id: I48cb65c94f697dbdd42cc09a2d473e4202ec48c8
2025-03-04 13:05:21 -06:00
cid
36b5e11de6 More reliable TinyIPA builds with network retries
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
2025-02-26 13:02:07 +01:00
Kaifeng Wang
f340ae3100 Change to maximum compression level when using lzma
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
2025-02-18 21:35:56 +08:00
cid
142834e41b Prevent service restart while in 'rescued' state
Closes-Bug: #2086865
Change-Id: I8c8b0c9f168ccc165c17e1c57a74831d12dfc1a7
2025-02-13 23:39:36 +01:00
Kaifeng Wang
46a8e0104e Remove unnecessary firmware from deploy image
Remove several wifi related firmware that is not required in the
deploy image.

Change-Id: I2cce855b600f5d5165012182bf1db342f23cdd96
2025-02-06 10:31:34 +08:00
Jay Faulkner
2cab2e4143 Deprecate ironic-lib
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
2025-01-16 22:25:27 +00:00
Riccardo Pittau
ef33cc89e7 Move jobs and DIB builds to ubuntu noble
Change-Id: Iafb7606d57e69a88a0dfe36673d1489820551ede
2024-12-23 11:08:50 +01:00
d6008a941d reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I024e3bb47243c97ce8e48f15150a86797ae3829f
2024-11-29 07:53:54 +00:00
LALLAU Bertrand
8a27cf7167 Fix vmedia network config drive handling
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
2024-11-05 15:59:05 +01:00
Takashi Kajinami
ac07c360a5 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I70fd3dfba4e4bf1fad7680aee245b8874bc5220a
2024-10-21 11:20:46 +00:00
a23d3d0328 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: Ia9b6c4211bc920dce9b8b387155cf53366ea186d
2024-09-20 13:51:47 +00:00
Zuul
e29375da7e Merge "Block glean-early.sh from running" 5.4.0 2024-06-29 00:07:25 +00:00
Julia Kreger
a106110fcf Remove centos7 specific logic check
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
2024-06-18 12:17:09 -07:00
Julia Kreger
6c3a8f174f Block glean-early.sh from running
Ironic has replaced the mount logic used by glean-early.sh with
it's own safer alternative.

Change-Id: If94901d1533ee6a51eaafe4ae114af901ab7e18d
2024-05-28 10:23:22 -07:00
Julia Kreger
76e2a71d58 Block cloud-init user-data loading
When cloud-init is present inside of an IPA ramdisk,
it can attempt to load user data it finds. This is not
needed in an IPA ramdisk.

https://docs.cloud-init.io/en/20.1/topics/format.html#disabling-user-data

Change-Id: Ic4fcbcc633833c062a35fc06b44843f4f6e5b1e9
2024-05-28 17:12:34 +00:00
Zuul
6a767738f4 Merge "Match publisher id" 2024-05-15 17:14:34 +00:00
Julia Kreger
f92befe127 Match publisher id
Take a publisher ID and match it for mounting configuration drives
to prevent the wrong device from being used.

Change-Id: Iafa77d9213eba864ca6dfa2d56d294e6ef4d2cd4
2024-05-07 14:27:37 +00:00
811c63b3b7 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I2aba74bd3975b15c90a39746a174d181f1bea817
2024-05-06 06:22:32 +00:00
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
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
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
5.3.0
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
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