coreos / fedora-coreos-tracker

Issue tracker for Fedora CoreOS
https://fedoraproject.org/coreos/
264 stars 59 forks source link

tracker: Rebase onto Fedora 41 #1695

Open jlebon opened 8 months ago

jlebon commented 8 months ago

Rebase to a new version of Fedora (N=41)

At previous Fedora major release

Open tickets to track related work for this release

At Branching

Branching is when a new stream is "branched" off of rawhide. This eventually becomes the next major Fedora (N).

Release engineering changes

See update tag2distrepo.keys for coreos-pool with f42 key: https://pagure.io/releng/issue/12264

coreos-installer changes

Example PR: https://github.com/coreos/coreos-installer/pull/1113

Update rawhide stream

Enable branched stream

Misc

At Fedora (N) Beta

Update fedora-coreos-config next-devel

Ship rebased next

Preparing for Fedora (N) GA

Do these steps as soon as we have a Go confirmation for GA, usually the Thursday of the week before GA.

Ship a final next release

If the packages in next-devel don't exactly match the last next release that was done, we need to do a release with the final GA content. This ensures that what we'll promote to testing has the exact content in GA (plus version fast-tracks). This usually happens on the Thursday of the announcement of Go.

Build rebased testing and final stable release on N-1

Update fedora-coreos-config testing-devel

At Fedora (N) GA

Do these steps on GA day.

Release rebased testing and final stable release on N-1

Disable next-devel stream if not needed

We prefer to disable next-devel when there is no difference between testing-devel and next-devel. This allows us to prevent wasting a bunch of resources (bandwidth, storage, compute) for no reason. After the switch to N if next-devel and testing-devel are in lockstep, then disable next-devel.

Switch upstream packages to shipping release binaries from Fedora (N)

Disable the fedora-candidate-compose repo

After Fedora (N) GA

Ship rebased stable

Untag old packages

koji untag N-2 packages from the pool (at some point we'll have GC in place to do this for us, but for now we must remember to do this manually or otherwise distRepo will fail once the signed packages are GC'ed). For example the following snippet finds all RPMs signed by the Fedora 32 key and untags them. Use this process:

f32key=12c944d0
key=$f32key
echo > untaglist # create or empty out file
for build in $(koji list-tagged --quiet coreos-pool | cut -f1 -d' '); do
    if koji buildinfo $build | grep $key 1>/dev/null; then
        echo "Adding $build to untag list"
        echo "${build}" >> untaglist
    fi
done

Now we have a list of builds to untag. But we need a few more sanity checks.

f32key=12c944d0
key=$f32key
podman run -it --rm quay.io/fedora/fedora-coreos:testing-devel rpm -qai | grep -B 9 $key
podman rmi quay.io/fedora/fedora-coreos:testing-devel

If there are any RPMs signed by the old key they'll need to be investigated. Maybe they shouldn't be used any longer. Or maybe they're still needed. One example of this is the shim RPM where the same build could be used for many Fedora releases. In this case you'll need to untag the RPM from coreos-pool, run a koji distrepo, which will remove that RPM from the repo metadata, and then re-tag it into the pool. The RPM in the repo will now be signed with a newer signing key.

# use xargs so we don't exhaust bash string limit
cat untaglist | xargs -L50 koji untag-build -v coreos-pool

Open ticket for the next Fedora rebase

Miscellaneous container updates

These are various containers in use throughout our ecosystem. We should update or open a ticket to track updating them once a new Fedora release is out. If you open a ticket instead of doing the update add a link to the ticket as comment.

marmijo commented 3 months ago
marmijo commented 3 months ago

Fedora Releng ticket requesting permissions for @marmijo to perform the "add and tag package into f42-coreos-continuous tag" step: https://pagure.io/releng/issue/12263

marmijo commented 3 months ago

Fedora Releng ticket to add the F42 signing key short hash to the coreos-pool tag: https://pagure.io/releng/issue/12264

marmijo commented 3 months ago

Add the Fedora 42 signing key: https://github.com/coreos/coreos-installer/pull/1512

travier commented 3 months ago

Package diff initial investigation in https://github.com/coreos/fedora-coreos-config/pull/3092#issuecomment-2298812200:

Copying the diff here for reference:

[2024-08-19T17:04:44.229Z] Downgraded:
[2024-08-19T17:04:44.234Z]   json-glib 1.8.0-3.fc40 -> 1.8.0-1.fc40
[2024-08-19T17:04:44.234Z] Removed:
[2024-08-19T17:04:44.234Z]   atheros-firmware-20240220-1.fc40.noarch
[2024-08-19T17:04:44.234Z]   bind-license-32:9.18.21-4.fc40.noarch
[2024-08-19T17:04:44.234Z]   brcmfmac-firmware-20240220-1.fc40.noarch
[2024-08-19T17:04:44.234Z]   fuse-2.9.9-21.fc40.x86_64
[2024-08-19T17:04:44.234Z]   fuse-libs-2.9.9-21.fc40.x86_64
[2024-08-19T17:04:44.234Z]   gvisor-tap-vsock-gvforwarder-6:0.7.3-2.fc40.x86_64
[2024-08-19T17:04:44.234Z]   mt7xxx-firmware-20240220-1.fc40.noarch
[2024-08-19T17:04:44.234Z]   pigz-2.8-4.fc40.x86_64
[2024-08-19T17:04:44.234Z]   polkit-pkla-compat-0.1-28.fc40.x86_64
[2024-08-19T17:04:44.234Z]   realtek-firmware-20240220-1.fc40.noarch
[2024-08-19T17:04:44.234Z] Added:
[2024-08-19T17:04:44.234Z]   clevis-pin-tpm2-0.5.3-7.fc41.x86_64
[2024-08-19T17:04:44.234Z]   dnf5-5.2.5.0-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   docker-cli-27.1.1-3.fc41.x86_64
[2024-08-19T17:04:44.234Z]   kdump-utils-1.0.44-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   libdnf5-5.2.5.0-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   libdnf5-cli-5.2.5.0-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   libkcapi-hasher-1.5.0-3.fc41.x86_64
[2024-08-19T17:04:44.234Z]   libtextstyle-0.22.5-6.fc41.x86_64
[2024-08-19T17:04:44.234Z]   lld-libs-18.1.8-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   llvm-libs-18.1.8-2.fc41.x86_64
[2024-08-19T17:04:44.234Z]   makedumpfile-1.7.5-13.fc41.x86_64
[2024-08-19T17:04:44.234Z]   moby-filesystem-27.1.1-3.fc41.x86_64
[2024-08-19T17:04:44.234Z]   qed-firmware-20240811-2.fc41.noarch
[2024-08-19T17:04:44.234Z]   sdbus-cpp-1.5.0-3.fc41.x86_64
[2024-08-19T17:04:44.234Z]   tini-static-0.19.0-9.fc41.x86_64

Downgrade is https://bugzilla.redhat.com/show_bug.cgi?id=2297094 which we should directly make a PR to fix as it's really minor and maybe we should just ignore it.

Removed:

Added:

travier commented 3 months ago

Fixing the json-glib pin in https://src.fedoraproject.org/rpms/json-glib/pull-request/4

travier commented 3 months ago

https://github.com/coreos/fedora-coreos-tracker/issues/1785#issuecomment-2302579957

travier commented 3 months ago

We've discussed this topic in today's community meeting.

The priority is resolving the issues that we ave with systemd 256 to be able to unpin it. Then looking at the status of composefs and kdump.

yasminvalim commented 3 months ago

We've discussed this topic in today's community meeting.

marmijo commented 2 months ago
marmijo commented 2 months ago

As we have done in the past we will be fast-tracking packages in next-devel/next to ensure no upgrade transition will ever include downgraded packages.

dustymabe commented 2 months ago

First next release on F41

dustymabe commented 2 months ago

Barrier for last F40 on next:

dustymabe commented 2 months ago

The fix for this went into next stream release 41.20240916.1.0. Please try out the new release and report issues.

dustymabe commented 1 month ago

final "fast-track downgraded packages" PR for F41: https://github.com/coreos/fedora-coreos-config/pull/3227

dustymabe commented 1 month ago

Promotion of testing-devel to F41:

dustymabe commented 1 month ago

disabling of next-devel

dustymabe commented 1 month ago

disabling of candidate compose repo:

dustymabe commented 1 month ago

The fix for this went into testing stream release 41.20241027.2.0. Please try out the new release and report issues.

travier commented 1 month ago

Annoucements:

dustymabe commented 2 weeks ago

The fix for this went into stable stream release 41.20241027.3.0.

HaveFun83 commented 2 weeks ago

Kernel 6.11.5 has a bug and broke our CNI (calico) we rolled back to "40.20241019.3.0"

2024-11-14 09:47:29.537 [WARNING][2938083] felix/table.go 1454: Failed to execute ip(6)tables-restore command error=exit status 2 errorOutput="Warning: Extension MARK revision 0 not supported, missing kernel module?

Ref: https://github.com/tailscale/tailscale/issues/13863 https://github.com/torvalds/linux/commit/306ed1728e8438caed30332e1ab46b28c25fe3d8

dustymabe commented 2 weeks ago

@HaveFun83 - if you could please open a new issue with relevant details (will make it for others to find the issue too).

HaveFun83 commented 2 weeks ago

@HaveFun83 - if you could please open a new issue with relevant details (will make it for others to find the issue too).

sure https://github.com/coreos/fedora-coreos-tracker/issues/1834

dustymabe commented 1 week ago

koji edit-tag coreos-pool -x tag2distrepo.keys="a15B79cc e99d6ad1 105ef944"

got Kevin Fenzi to run this for me:

koji edit-tag coreos-pool -x tag2distrepo.keys="a15B79cc e99d6ad1 105ef944"
dustymabe commented 1 week ago

all 709 F39 RPMs were removed from coreos-pool.