From 6982c2e4a3c84552ce80544d1f99072f90e28d87 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Wed, 5 Nov 2025 17:51:44 +0100 Subject: [PATCH] Do not build Debian Bullseye image anymore Debian Bullseye is EOL since a year now and its default python version is 3.9 which is incompatible with Ironic Python Agent. This patch removes its support. Change-Id: I057de3d4773132c535e935b48a6c7b1bdd434af2 Signed-off-by: Riccardo Pittau --- .../environment.d/01-debian-ipa.bash | 4 ---- dib/ironic-python-agent-ramdisk/pkg-map | 5 ----- doc/source/admin/dib.rst | 1 - .../notes/goodbye-bullseye-2484e954f7234ba5.yaml | 5 +++++ zuul.d/ironic-python-agent-builder-jobs.yaml | 10 ++-------- zuul.d/project.yaml | 2 -- 6 files changed, 7 insertions(+), 20 deletions(-) create mode 100644 releasenotes/notes/goodbye-bullseye-2484e954f7234ba5.yaml diff --git a/dib/ironic-python-agent-ramdisk/environment.d/01-debian-ipa.bash b/dib/ironic-python-agent-ramdisk/environment.d/01-debian-ipa.bash index 2ca7e3d1..17d1aef4 100644 --- a/dib/ironic-python-agent-ramdisk/environment.d/01-debian-ipa.bash +++ b/dib/ironic-python-agent-ramdisk/environment.d/01-debian-ipa.bash @@ -1,9 +1,5 @@ # IPA is built with non-free firmware by default. DIB_DEBIAN_NON_FREE=non-free-firmware -if [[ "$DIB_RELEASE" == "bullseye" ]]; then - # Starting with bookworm, firmware is in a separate repository - DIB_DEBIAN_NON_FREE=non-free -fi export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,contrib,$DIB_DEBIAN_NON_FREE} if [[ $DIB_DEBIAN_COMPONENTS =~ non-free ]]; then diff --git a/dib/ironic-python-agent-ramdisk/pkg-map b/dib/ironic-python-agent-ramdisk/pkg-map index 0bd2d24c..bfbe7b07 100644 --- a/dib/ironic-python-agent-ramdisk/pkg-map +++ b/dib/ironic-python-agent-ramdisk/pkg-map @@ -11,11 +11,6 @@ "python": "python3.12", "python-dev": "python3.12-devel" } - }, - "debian": { - "bullseye": { - "lshw": "lshw/bullseye-backports" - } } }, "family": { diff --git a/doc/source/admin/dib.rst b/doc/source/admin/dib.rst index fddbed4c..13c60e22 100644 --- a/doc/source/admin/dib.rst +++ b/doc/source/admin/dib.rst @@ -10,7 +10,6 @@ real hardware. The recommended distributions are: The following should work but receive only limited testing and support: * Ubuntu 20.04 Focal -* Debian Bullseye (``debian-minimal`` element) Building -------- diff --git a/releasenotes/notes/goodbye-bullseye-2484e954f7234ba5.yaml b/releasenotes/notes/goodbye-bullseye-2484e954f7234ba5.yaml new file mode 100644 index 00000000..dec4c42b --- /dev/null +++ b/releasenotes/notes/goodbye-bullseye-2484e954f7234ba5.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Debian Bullseye IPA ramdisk is not built anymore, the default Python + version (3.9) is incompatible with Ironic Python Agent. diff --git a/zuul.d/ironic-python-agent-builder-jobs.yaml b/zuul.d/ironic-python-agent-builder-jobs.yaml index c00f18c8..7185eff9 100644 --- a/zuul.d/ironic-python-agent-builder-jobs.yaml +++ b/zuul.d/ironic-python-agent-builder-jobs.yaml @@ -125,23 +125,17 @@ image_distro: 'debian-minimal' image_release: 'bookworm' -- job: - name: ironic-python-agent-check-image-dib-debian-bullseye - parent: ironic-python-agent-check-image-dib-debian - vars: - image_release: 'bullseye' - - job: name: ironic-python-agent-check-image-dib-debian-arm64 parent: ironic-python-agent-check-image-dib-debian - nodeset: debian-bullseye-arm64 + nodeset: debian-bookworm-arm64 vars: image_target_name: debian-arm64 - job: name: ironic-python-agent-build-image-dib-debian-arm64 parent: ironic-python-agent-build-image-dib-debian - nodeset: debian-bullseye-arm64 + nodeset: debian-bookworm-arm64 vars: image_target_name: debian-arm64 diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 2493792a..16269579 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -15,8 +15,6 @@ - ironic-python-agent-check-image-dib-debian-arm64 - ironic-python-agent-check-image-dib-debian-extra # Non-voting jobs - - ironic-python-agent-check-image-dib-debian-bullseye: - voting: false - ironic-python-agent-check-image-dib-ubuntu: voting: false - ironic-python-agent-check-image-dib-ubuntu-arm64: