Skip to content

fix(ingress): refresh the haproxy base and Debian snapshot - #176

Merged
Leechael merged 1 commit into
mainfrom
chore/ingress-refresh-base
Dec 1, 2026
Merged

Leechael merged 1 commit into
mainfrom
chore/ingress-refresh-base

Conversation

@kvinwang

@kvinwang kvinwang commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Problem

dstack-ingress 2.8 is built FROM haproxy@sha256:f8095d0b…, and apt is pinned to the Debian snapshot 20260824T000000Z. That digest is haproxy 3.3.14 (image created 2026-08-27), not a 3.4 build. Nothing moves either pin between releases, so the image is missing every Debian security update published after 2026-08-24. The packages that change when the pins are refreshed include openssl/libssl3t64 (3.5.7 → 3.5.9), libc6 (deb13u3 → u5), curl/libcurl (deb13u4 → u7), python3.13 (deb13u3 → u5), libexpat1 (2.8.3 → 2.9.0), zlib1g, liblzma5, libsqlite3, libpcre2, perl-base, gzip, socat, ca-certificates and tzdata.

Fix

  • FROM haproxy@sha256:b9d0f5dd…: the haproxy:3.3.19 index, the current release of the same 3.3 line (created 2026-11-30). The pin is still by digest.
  • Both sources.list lines move to the snapshot 20261201T000000Z. It resolves to debian 20261130T210532Z and debian-security 20261130T220659Z.
  • pinned-packages.txt is regenerated from the build. It still lists 136 packages, and 33 versions change.
  • README, Releasing step 1: refresh both base pins before each release, because nothing else updates them.

VERSION is unchanged. Bumping it to cut a release is a separate step, as with previous releases.

Verification

On a native linux/amd64 host:

  • ./build-image.sh on the edited tree regenerated pinned-packages.txt. I committed that file.
  • I then ran ./build-image.sh --require-clean twice on the committed tree. Both runs produced manifest digest sha256:df2a73c4268f7a8962b43e168c6a086bb05bd820e77a2123dff6f6547b903875, and both reported pinned-packages.txt matches the image (136 packages).
  • Smoke test of the built image: HAProxy 3.3.19 built and running against OpenSSL 3.5.9, certbot 5.8.0, lego 5.3.1, Python 3.13.5, Debian 13.8.

Not done: no end-to-end certificate issuance run in a CVM.

Open question

haproxy 3.3 is a non-LTS branch and goes end-of-life well before 3.4 LTS does. Moving to 3.4 would change the HAProxy feature line, so this PR does not do it. That move should be a separate decision.

The image was built on haproxy 3.3.14 (base pinned 2026-08-27) with apt
pinned to the 2026-08-24 Debian snapshot, so every Debian security update
since then was missing: openssl, glibc, curl, python3.13, expat, zlib,
sqlite, pcre2 and others.

Move the base to haproxy 3.3.19, the current release of the same line,
and both snapshot lines to 2026-12-01. Both stay pinned, so the digest
stays reproducible. pinned-packages.txt is regenerated from the build.

The release steps in the README now say to refresh both before a
release, since nothing else moves them.

Signed-off-by: Kevin Wang <wy721@qq.com>
@Leechael
Leechael merged commit 0ee9379 into main Dec 1, 2026
6 checks passed
@Leechael
Leechael deleted the chore/ingress-refresh-base branch December 1, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants