Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: Comment |
Author
|
We'll not merge it before RHAI 3.7 timeline at this point, to support disconnected environments with RHOAI. |
EmilienM
marked this pull request as draft
September 29, 2026 12:35
This was referenced Sep 29, 2026
|
This pull request has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. |
Author
|
don't close it, we're targeting RHAI 3.7 for this one. |
|
This pull request has had no activity for 14 days and is now marked stale. |
Move five of the six Konflux image builds (CLI, gateway, sandbox, supervisor, ODH e2e runner) from UBI 9.8 to UBI 10.2. The OpenClaw harness image stays on ubi9/nodejs-24-minimal and documents why: ubi10/nodejs-24-minimal links RHEL 10's SQLite 3.46.1, which OpenClaw rejects as not WAL-reset-safe, while the ubi9 base ships SQLite 3.54.1. The Rust images build on rust-rhel10:1.99.1, since rust-rhel9 1.99.0 has no RHEL 10 counterpart. The product runtimes move from ubi9/ubi-minimal-pqc to ubi10/ubi-minimal: RHEL 10 has no PQ subpolicy, because its stock DEFAULT policy already enables the ML-KEM hybrid key exchange groups, so the images assert that instead of DEFAULT:PQ. The gateway drops gcc-toolset-15; RHEL 10's system GCC provides the C++20 <format> header that bundled Z3 needs. The e2e runner moves its Python stack from python3.11, which does not exist on RHEL 10, to python3.12, with the pip closure recompiled for cp312. RPM lockfiles are regenerated against the public UBI 10 CDN repos, and the four product image name labels move from -rhel9 to -rhel10. The Rust images also fix a breakage that predates this change: the root Cargo.toml now lists tests/policy-conformance as a workspace member, but no Konflux Dockerfile copies tests/, so every Rust image build fails to load the workspace. Each builder now rewrites the members list to the crates it actually builds. Platform floor: every x86_64 image needs an x86-64-v3 CPU (RHEL 10 GCC default), and the dynamically linked CLI needs glibc 2.38 or newer on the host, so RHEL 9 hosts lose CLI support. Signed-off-by: Emilien Macchi <emacchi@redhat.com>
EmilienM
force-pushed
the
carry/konflux-rhel10
branch
from
November 24, 2026 18:46
ac040e3 to
4b101c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move the Konflux image builds to RHEL 10.2. Five images move (CLI, gateway, sandbox, supervisor, ODH e2e runner); the OpenClaw harness image stays on UBI 9 for a hard technical reason (see below). This reworks #62 on top of the restructured build: since that PR was opened, the builders moved to the Red Hat rust-builder images, the product runtimes moved to
ubi9/ubi-minimal-pqc, the supervisor lost its RPM inputs, and the e2e and OpenClaw images were added.Related Issue
No issue required: CARRY-only build infrastructure change for the downstream Konflux images.
Changes
rust-builder-image/rust-rhel10:1.99.1(rust-rhel9 1.99.0 has no RHEL 10 counterpart; 1.99.1 matches what the e2e image already used).ubi9/ubi-minimal-pqc→ubi10/ubi-minimal:10.2(cli, gateway, supervisor); sandbox →ubi10/ubi-micro:10.2; e2e runner →ubi10/ubi:10.2.PQsubpolicy because its stockDEFAULTpolicy already enables the ML-KEM hybrid key exchange groups. The images now assertDEFAULTplus ML-KEM in the OpenSSL policy backend instead ofDEFAULT:PQ, and dropcrypto-policies-scripts(and the Python stack it pulls) from the e2e runtime.<format>header that bundled Z3 needs.odh/requirements.txtrecompiled for cp312 and the Hermeto pip prefetch set topy_version: 312.rpms.in.yamlfiles point at the public UBI 10 baseos, appstream and CodeReady Builder repos; all four lockfiles regenerated. Noel9packages remain.namelabels move fromrhoai/odh-openshell-*-rhel9to-rhel10.Cargo.tomlnow liststests/policy-conformanceas a workspace member, but no Konflux Dockerfile copiestests/, so every Rust image build on currentmainfails to load the workspace. Each Rust builder now rewrites the workspacememberslist to the crates it actually builds (the CLI image already did this; its pattern no longer matched).OpenClaw stays on UBI 9
ubi10/nodejs-24-minimallinks RHEL 10's SQLite 3.46.1, which OpenClaw rejects at startup as not WAL-reset-safe (it requires 3.51.3+, 3.50.7+, or a patched 3.44.6+). The ubi9 base ships SQLite 3.54.1 and works. Its README now documents this; revisit once RHEL 10 ships a WAL-reset-safe SQLite. Everything else about its build is unchanged from main.Platform floor changes
-march=x86-64-v3. That includes the static sandbox binary injected into workloads, but those nodes already run the supervisor image, which needs v3 anyway.Release follow-ups (outside this repo)
The
-rhel10rename needs matching release config before it ships in RHOAI:konflux-release-data:rhoai-onprem-v3-6-components-{prod,stage}.yamlmaps the four components toregistry{.stage}.redhat.io/rhoai/odh-openshell-*-rhel9.-rhel10images.-rhel9repos.No RHOAI component ships to a
-rhel10repo yet, so this is worth confirming with RHOAI release before it syncs downstream.Testing
deploy/konflux/build-local.sh(Hermeto prefetch,--network none, linux/amd64). All in-build checks passed: static-PIE sandbox with the NSS pin (positive and negative probes), dynamic linkage assertions for CLI and supervisor,.dep-v0auditable metadata in every binary, the crypto-policy assertions, the e2e image's tool-presence loop, and the OpenClawsmoke-test.sh(including Node negotiating X25519MLKEM768 over TLS 1.3 under the stock DEFAULT policy).DEFAULT+ ML-KEM policy assertions were verified against the exact pinned ubi10 digests, and the rust-rhel10 builder was confirmed to ship GCC 14.3.1 with the C++20<format>header and clang-devel, so the gateway's vendored Z3 builds without gcc-toolset.objdump -Tand by running it on Fedora 39 (glibc 2.38: runs, with a loader warning about weak GLIBC_2.39 symbols) and UBI 9.8 (glibc 2.34: refuses to load).ubi10/nodejs-24-minimalas an experiment: the image builds and the PQ check passes, but OpenClaw refuses to run on RHEL 10's SQLite 3.46.1 (see "OpenClaw stays on UBI 9" above), so the image stays on the ubi9 base.mise run pre-commit:license:checkstill fails on the 21.tekton/files without SPDX headers, identical to unmodifiedmain; the rest oflintcovers Rust, Python, Markdown, Helm, proto and TS, none of which this PR touches beyond the two konflux READMEs (markdownlint clean) and the two shell scripts (shellcheck clean).Checklist
CARRY:prefix