Updates SUSE Edge 3.2 branch with updated Kiwi image builder base #124
Reference in New Issue
Block a user
No description provided.
Delete Branch "roxenham/Factory:kiwi-image-6.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In December 2024, the upstream Kiwi team dropped the md5 checksum for generated
images and went with sha256, for good reason:
d4d39e481a
These changes have recently been reflected in updated
dracut-kiwi-oem-repart
and
dracut-kiwi-oem-dump
Dracut modules, bumping to a 10.2 codebase, whichexpect the sha256 checksum to be available at install time on SelfInstall ISO
images. However, in the current branch of the Kiwi builder, we use 10.1, which
generates md5 checksums, resulting in an error at deployment time as the Dracut
modules cannot find the sha256 checksum file.
NOTE: This is being put into the 3.2 branch only right now, as it relies on
Micro 6.0; the Kiwi changes have not yet permeated into Micro 6.1, so we'll
need to forward-port this into 3.3 when 6.1 has the new modules. Micro 6.1
images can still be built successfully on the Kiwi 10.1 branches with md5.
This passed in SV with manually built EIB 1.1.1-rc0 and RKE2 1.31.7 for the management cluster deployment: https://gitlab.suse.de/edge-engineering/stack-validation/-/pipelines/1687722
CAPI one is running as well: https://gitlab.suse.de/edge-engineering/stack-validation/-/pipelines/1687794
Ps. you can ignore the failed test case for the first pipeline as it is a timing issue. second pipeline just running the same set of test cases passed here: https://gitlab.suse.de/edge-engineering/stack-validation/-/pipelines/1687792
@@ -3,1 +1,3 @@
FROM registry.suse.com/bci/kiwi:10.1.16
#!BuildTag: %%IMG_PREFIX%%kiwi-builder:10.2.12.0
#!BuildTag: %%IMG_PREFIX%%kiwi-builder:10.2.12.0-%RELEASE%
FROM registry.suse.com/bci/kiwi:10.2.12
I wonder if this shouldn't be
10.2
- the 10.2.12 is not going to be "maintained" regularly by updates (it will stop seeing updates as soon as kiwi 10.2.13+ is being submitted and released). there is a floating tag "10.2" which refers to the latest "10.2.x" (as well as a "10" tag which would refer to any kiwi 10.x.y version.As this is a released version, I wonder if it makes sense to pin to the specific version,
10.2.12
, rather than the floating tag,10.2
, which might change without us noticing + making it difficult to reproduce if the issues occur as what we include in the release this week might not be the same with what customers might be using in 2 months from now.Edit after thinking a minute - this might not be an issue actually considering we won't be changing the image after the release but pinning to a specific version for the release purposes still makes sense to me.
I think we have a mismatch between what we build and what we document here. I agree we shouldn't necessarily document people to use the very latest image if that hasn't been validated. so pinning that makes sense until there is control in releasing only working images.
However, for building we do need to find latest image. also on every z stream release I think we should be updating to the latest image becaues it includes other fixes.
BTW you're not actually pinning the image. the "10.2.12" tag is floating as well, as long as there are only rebuilds of the container. if you want to pin you would actually have to pin a specific build. so you already have that issue, you just don't know about it.
Aha, this is news to me. Thanks for the info!
I made #129 as an alternative to this PR
Let's close this in favour of #129
Pull request closed