Bookworm is planned to release in about a month and a half, so it would be nice to have a Docker base image to start testing on.
Previous work: T281596: Publish wikimedia-bullseye base docker image
Bookworm is planned to release in about a month and a half, so it would be nice to have a Docker base image to start testing on.
Previous work: T281596: Publish wikimedia-bullseye base docker image
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | taavi | T335352 Provide a PHP 8.2 image for Kubernetes toolforge-jobs and webservice | |||
| Resolved | taavi | T335507 Build Bookworm based Toolforge Kubernetes images | |||
| Resolved | Joe | T335560 Publish Wikimedia bookworm base Docker image |
Mentioned in SAL (#wikimedia-operations) [2023-05-15T05:36:23Z] <_joe_> building bookworm image for the first time T335560
Change 919611 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):
[operations/puppet@production] docker::baseimages: support bookworm
Change 919611 merged by Giuseppe Lavagetto:
[operations/puppet@production] docker::baseimages: support bookworm
While I've added bookworm to the build process, I think I'll revert that part of my change.
Every time I try to run a build there is a different symlink broken on snapshots.debian.org making the process fail.
I guess we're better off waiting for the official release.
The last issue I encountered happened *after* the base system was installed (so, success compared to other runs!):
warning: no apparent 'bookworm/main' for 'amd64' on any of the following; skipping - http://snapshot.debian.org/archive/debian/20230516T063700Z warning: no apparent 'bookworm/updates/main' for 'amd64' on any of the following; skipping - http://snapshot.debian.org/archive/debian-security/20230516T063700Z warning: no apparent 'bookworm-updates/main' for 'amd64' on any of the following; skipping - http://snapshot.debian.org/archive/debian/20230516T063700Z error: sources.list ended up empty -- something is definitely wrong
which makes it look like some logic has changed in how the debian archives are organized for bookworm. I'll need to dig deeper.
It's much simpler than that - debuerreotype would work correctly - the problem is that snapshots are full of broken links for bookworm - again:
http://snapshot.debian.org/archive/debian/20230515T030231Z/dists/bookworm/main/binary-amd64/ lists Packages.gz as a symlink to a hash url that doesn't exist.
I'll revert the build step for bookworm and set this task to stalled for the moment - it's simply too un predictable if a bookworm image will be built or not.
Change 920196 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):
[operations/puppet@production] docker::baseimages: skip building bookworm
Change 920196 merged by Giuseppe Lavagetto:
[operations/puppet@production] docker::baseimages: skip building bookworm
After discussion with @MoritzMuehlenhoff - it makes sense that snapshots might be broken right now that things change hectically for a testing distro before the freeze - we should pick up this task after June 3rd when the freeze will be enacted.
The freeze started about a week ago and the release is due today, so I'd imagine things are stable enough to pick this up again.
Change 929168 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):
[operations/puppet@production] Build Bookworm base image
Change 929168 merged by Muehlenhoff:
[operations/puppet@production] Build Bookworm base image
This still fails with errors related to snapshot.debian.org
Jun 15 15:39:09 build2001 build-base-images[2139003]: W: Couldn't download package libxxhash0 (ver 0.8.1-1 arch amd64) at http://snapshot.debian.org/archive/debian/20230615T124400Z/pool/main/>Jun 15 15:39:09 build2001 build-base-images[2139003]: I: Retrieving liblzma5 5.4.1-0.2 Jun 15 15:41:29 build2001 build-base-images[2139003]: I: Validating liblzma5 5.4.1-0.2 Jun 15 15:41:30 build2001 build-base-images[2139003]: I: Retrieving zlib1g 1:1.2.13.dfsg-1 Jun 15 15:42:57 build2001 build-base-images[2139003]: I: Validating zlib1g 1:1.2.13.dfsg-1 Jun 15 15:42:57 build2001 build-base-images[2162916]: E: Couldn't download packages: passwd libsystemd0 libudev1 sysvinit-utils tar tzdata usr-is-merged usrmerge bsdutils libblkid1 libmount1 >Jun 15 15:42:57 build2001 build-base-images[2135871]: error: 'debootstrap' failed! Jun 15 15:42:57 build2001 build-base-images[2135871]: Full command: Jun 15 15:42:57 build2001 build-base-images[2135871]: debootstrap --force-check-gpg --variant=minbase --merged-usr bookworm rootfs http://snapshot.debian.org/archive/debian/20230615T12440>
This needs some further debugging, not sure why debuerrotype uses snapshot.d.o and not the main errors
Looks like there is now an image: https://docker-registry.wikimedia.org/bookworm/tags/. Thanks!