Skip to content

Commit 8042866

Browse files
cardoesyedhaseebahmed
authored andcommitted
feat(ironic): move container to OpenStack 2026.2
Track understack/2026.2 for Ironic (pinned to 53fd32a1) and switch sushy back to upstream stable/2026.2, which already carries the Dell storage controller mode fix, so the sushy patch is dropped. Build on the ubuntu_resolute 2026.2 base images, whose venv is python3.14. proliantutils is unused, so remove it along with the IPMI UTF-8 patch that only touched it and the now-unneeded patch package. Ironic is built in the openstack-2026-2 CI job instead of 2026.1. ironic-understack now requires ironic 39.x and Python 3.14, and the upper-constraints used by code-test move to 2026.2.
1 parent c944502 commit 8042866

8 files changed

Lines changed: 32 additions & 104 deletions

File tree

‎.github/workflows/code-test.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.ref }}
2121

2222
env:
23-
OPENSTACK_VERSION: "2026.1"
23+
OPENSTACK_VERSION: "2026.2"
2424

2525
jobs:
2626
discover:

‎.github/workflows/containers-openstack.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
project:
3636
- cinder
3737
- glance
38-
- ironic
3938
- keystone
4039
- nova
4140
- neutron
@@ -55,6 +54,7 @@ jobs:
5554
matrix:
5655
project:
5756
- horizon
57+
- ironic
5858
- skyline
5959
uses: ./.github/workflows/build-container-reuse.yaml
6060
secrets: inherit

‎components/images-openstack.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ images:
2424
identity_controller: "ghcr.io/rackerlabs/understack/openstack-client:2026.1"
2525

2626
# ironic
27-
ironic_api: "ghcr.io/rackerlabs/understack/ironic:2026.1"
28-
ironic_conductor: "ghcr.io/rackerlabs/understack/ironic:2026.1"
29-
ironic_novncproxy: "ghcr.io/rackerlabs/understack/ironic:2026.1"
30-
ironic_pxe: "ghcr.io/rackerlabs/understack/ironic:2026.1"
31-
ironic_pxe_init: "ghcr.io/rackerlabs/understack/ironic:2026.1"
32-
ironic_db_sync: "ghcr.io/rackerlabs/understack/ironic:2026.1"
27+
ironic_api: "ghcr.io/rackerlabs/understack/ironic:2026.2"
28+
ironic_conductor: "ghcr.io/rackerlabs/understack/ironic:2026.2"
29+
ironic_novncproxy: "ghcr.io/rackerlabs/understack/ironic:2026.2"
30+
ironic_pxe: "ghcr.io/rackerlabs/understack/ironic:2026.2"
31+
ironic_pxe_init: "ghcr.io/rackerlabs/understack/ironic:2026.2"
32+
ironic_db_sync: "ghcr.io/rackerlabs/understack/ironic:2026.2"
3333
ironic_pxe_http: "docker.io/nginx:1.29.8"
3434
# these want curl which apparently is in the openstack-client image
3535
ironic_manage_cleaning_network: "ghcr.io/rackerlabs/understack/openstack-client:2026.1"

‎containers/ironic/Dockerfile‎

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
# syntax=docker/dockerfile:1
22

33
ARG OPENSTACK_VERSION="required_argument"
4-
FROM quay.io/airshipit/venv_builder:${OPENSTACK_VERSION}-ubuntu_noble AS build
4+
FROM quay.io/airshipit/venv_builder:${OPENSTACK_VERSION}-ubuntu_resolute AS build
55

66
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
77

88
RUN apt-get update && \
99
apt-get install -y --no-install-recommends \
1010
git \
11-
patch \
1211
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1312

14-
# renovate: name=openstack/ironic repo=https://github.com/rackerlabs/ironic.git branch=understack/2026.1
15-
ARG IRONIC_GIT_REF=ff0628e8219db14f16f17e8491465275277b21d7
13+
# renovate: name=openstack/ironic repo=https://github.com/rackerlabs/ironic.git branch=understack/2026.2
14+
ARG IRONIC_GIT_REF=53fd32a1e0f840ef8ee051fbe4b4672237cd68c0
1615
ADD --keep-git-dir=true https://github.com/rackerlabs/ironic.git#${IRONIC_GIT_REF} /src/ironic
1716
RUN git -C /src/ironic fetch --unshallow --tags
1817

19-
# renovate: name=openstack/sushy repo=https://github.com/rackerlabs/sushy.git branch=understack/2026.1
20-
ARG SUSHY_GIT_REF=5edf1e928de059c74424a29db1fa5dafb571e78f
21-
ADD --keep-git-dir=true https://github.com/rackerlabs/sushy.git#${SUSHY_GIT_REF} /src/sushy
18+
# renovate: name=openstack/sushy repo=https://github.com/openstack/sushy.git branch=stable/2026.2
19+
ARG SUSHY_GIT_REF=8d3544ded8cb31cf694e4b331e851d24451821cc
20+
ADD --keep-git-dir=true https://github.com/openstack/sushy.git#${SUSHY_GIT_REF} /src/sushy
2221
RUN git -C /src/sushy fetch --unshallow --tags && \
2322
sed -i '/sushy==.*/d' /upper-constraints.txt
2423

@@ -31,12 +30,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
3130
--constraint /upper-constraints.txt \
3231
/src/ironic \
3332
/src/sushy \
34-
/src/understack/ironic-understack \
35-
proliantutils==2.16.3
36-
37-
COPY containers/ironic/patches /tmp/patches/
38-
RUN cd /var/lib/openstack/lib/python3.12/site-packages && \
39-
patch -p1 < /tmp/patches/0002-Solve-IPMI-call-issue-results-in-UTF-8-format-error-.patch
33+
/src/understack/ironic-understack
4034

4135
# download and unpack novnc
4236
ARG NOVNC_VERSION=1.6.0
@@ -48,12 +42,12 @@ RUN \
4842
mkdir -p /usr/share/novnc/ && \
4943
wget -q -O "$DEST_FILE" "$URL" && \
5044
tar -C /usr/share/novnc/ --strip-components=1 -zxvf "${DEST_FILE}" "$PFX/app" "$PFX/core" "$PFX/vendor" "$PFX/vnc.html"
51-
COPY containers/ironic/ironic-console-pod.yaml.template /var/lib/openstack/lib/python3.12/site-packages/ironic/console/container/
45+
COPY containers/ironic/ironic-console-pod.yaml.template /var/lib/openstack/lib/python3.14/site-packages/ironic/console/container/
5246

5347
# renovate: datasource=docker depName=ghcr.io/rackerlabs/understack/ironic-ipxe versioning=semver
5448
FROM ghcr.io/rackerlabs/understack/ironic-ipxe:1.0.0 AS ipxe
5549

56-
FROM quay.io/airshipit/ironic:${OPENSTACK_VERSION}-ubuntu_noble AS final
50+
FROM quay.io/airshipit/ironic:${OPENSTACK_VERSION}-ubuntu_resolute AS final
5751

5852
ENV PATH="/var/lib/openstack/bin:$PATH"
5953

‎containers/ironic/README.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ The branch for these are `understack/$OPENSTACK_VERSION`
1010

1111
```bash
1212
git clone https://github.com/openstack/ironic
13-
git checkout --track origin/stable/2026.1
13+
git checkout --track origin/stable/2026.2
1414
git remote add rackerlabs https://github.com/rackerlabs/ironic
1515
git fetch rackerlabs
16-
git checkout --track rackerlabs/understack/2026.1
16+
git checkout --track rackerlabs/understack/2026.2
1717
```
1818

1919
## Adding patches is done via `git cherry-pick`
2020

2121
```bash
22-
git checkout understack/2026.1
22+
git checkout understack/2026.2
2323
git cherry-pick GITISH_TO_PORT
24-
git push rackerlabs understack/2026.1
24+
git push rackerlabs understack/2026.2
2525
```
2626

2727
## Creating the next stable series
@@ -39,7 +39,7 @@ branches to `rackerlabs` after you confirm each step. It expects a remote named
3939
(pointing at `openstack/ironic`, not `origin`) and a remote named `rackerlabs`.
4040

4141
```bash
42-
scripts/git-understack-rebase ~/work/ironic 2026.1
42+
scripts/git-understack-rebase ~/work/ironic 2026.2
4343
```
4444

4545
### Patches that landed upstream (possibly tweaked)
@@ -65,24 +65,24 @@ commits are involved before anything is rewritten.
6565
To do it manually instead:
6666

6767
```bash
68-
git checkout stable/2026.1
68+
git checkout stable/2026.2
6969
git pull -p
70-
git checkout understack/2026.1
71-
git rebase stable/2026.1
72-
git push rackerlabs understack/2026.1
70+
git checkout understack/2026.2
71+
git rebase stable/2026.2
72+
git push rackerlabs understack/2026.2
7373
```
7474

7575
## Updating the container
7676

7777
```bash
78-
git checkout understack/2026.1
78+
git checkout understack/2026.2
7979
git show
8080
# ensure the git-ish in the Dockerfile matches
8181
```
8282

8383
## Backporting patches from upstream master
8484

85-
To backport a patch from upstream master (or another branch) to understack/2026.1:
85+
To backport a patch from upstream master (or another branch) to understack/2026.2:
8686

8787
```bash
8888
# Fetch all branches from upstream (openstack/ironic)
@@ -93,7 +93,7 @@ git fetch origin
9393
git fetch rackerlabs
9494

9595
# Checkout the understack branch
96-
git checkout understack/2026.1
96+
git checkout understack/2026.2
9797

9898
# Cherry-pick the commit from master
9999
# You can get the commit hash from the PR or upstream repository
@@ -104,7 +104,7 @@ git add <conflicted-files>
104104
git cherry-pick --continue
105105

106106
# Push to rackerlabs fork
107-
git push rackerlabs understack/2026.1
107+
git push rackerlabs understack/2026.2
108108
```
109109

110110
### Example workflow for a specific PR

‎containers/ironic/patches/0002-Solve-IPMI-call-issue-results-in-UTF-8-format-error-.patch‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎containers/ironic/patches/0003-Handle-missing-storage-controller-mode-attribute.patch‎

Lines changed: 0 additions & 40 deletions
This file was deleted.

‎python/ironic-understack/pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ name = "ironic-understack"
77
version = "0.0.0"
88
description = "Ironic hooks for Understack"
99
authors = [{ name = "Marek Skrobacki", email = "marek.skrobacki@rackspace.co.uk" }]
10-
requires-python = "~=3.12.0"
10+
requires-python = "~=3.14.0"
1111
readme = "README.md"
1212
license = "MIT"
1313
dependencies = [
14-
"ironic>=35.1.0,<36",
14+
"ironic>=39,<40",
1515
"pyyaml~=6.0",
1616
"requests",
1717
]

0 commit comments

Comments
 (0)