-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpm-ostree upgrade fails in edge-commit RHEL-9.6 #4593
Comments
I think this might be related to ostreedev/ostree#3193 @runcom you were looking at |
I’ll check it out, maybe composefs? |
This may be relevant ostreedev/ostree#3193 (comment) @mcattamoredhat do you know what exactly changed in the new snapshot? rpm-ostree? Just ostree? Can you print versions and also provide the content of /etc/fstab and /proc/cmdline |
it seems that changes in https://github.com/osbuild/osbuild-composer/pull/4569/files are tests only, so how did you reproduce this @mcattamoredhat ? 🤔 I'm trying with 9.6 nightlies repo enabled, building a commit and upgrade (using a raw image to install) |
since |
I think the remount service is a red herring tho - it seems it's greenboot that fails and triggers the rollback 🤔 |
This is what Mario has, the system is installed using Anaconda, but there's no bootc nor composefs (cc @cgwalters for the similar failiure) - we'll try w/o the
|
the watchdog check is a required one so that failing means we rollback too (update platforms checks instead is just wanted so shouldn't cause the rollback) |
After commenting out the
Upgrade commit is
|
I am not an expert in this repo but that would seem to be a surprising cause.
"is write-protected" here means we got EROFS from |
right, although I just think that the rollback isn't related - greenboot doesn't check for that so whatever happens it's greenboot |
so it seems that dbus can't start for some reason which makes rpm-ostreed unfunctional:
|
That looks like a symptom of missing |
uhm, but this is not bootc 😄 I'm seeing a bunch of tmpfs issues indeed
|
@thozza @achilleas-k do you know more here from the top of your heads? 👼 |
maybe slightly related as a change in ostree ostreedev/ostree#3366 ? |
This seems to be the case for us now ostreedev/ostree#3366 (comment) @cgwalters |
ostreedev/ostree#3353 (comment) so ostree-2024.10 may be breaking for us as we upgrade from |
Ah yes, sorry. We withdrew 2024.10 from Fedora bodhi, but not C{9,10}S as there's no real "undo" button there. In any case 2025.1 is already queued to ship in 9.6 and beyond. |
Ugh, yeah 2025.1 is stuck in QE, will try to get that fixed |
so we need the snapshots here to at least target 20250201 - that snapshot contains ostree-2025.1 cc @thozza |
We have snapshots from 20250201, the PR is still open though: #4591 Quick look shows me that the rpm-ostree version there is 2025.4 (for RHEL 9.6). |
It's ostree, not rpm-ostree at issue here |
Right, my mistake. In that case it's |
After the snapshot update to 20250201 edge-commit test in RHEL-9.6 is still failing https://artifacts.osci.redhat.com/testing-farm/8876a623-b410-499c-affd-727dbb89054f/work-edge-x86-commitqqviedpt/tmt/plans/edge-test/edge-x86-commit/execute/data/guest/default-0/tmt/tests/edge-test-1/output.txt After reproducing this failure locally, it seems anaconda fails to install bootloader:
|
Do you have bootupd in your tree? See https://pagure.io/workstation-ostree-config/pull-request/600# that explicitly excludes it. If the Edge-9.6 setup isn't ready for bootupd then at the current time the package needs to be excluded. (All this pain will go away when we consolidate on a reference, tested base image defined as a container image going forward) |
Right, we actually did that with fedora before we supported it afaict osbuild/images#918 PR for rhel osbuild/images#1195 |
Exluding bootupd with osbuild/images#1195 fixes bootloader issue. Nevertheless, edge-commit in RHEL-9.6 is still failing, we will continue debugging. |
Seems like we're now hitting a greenboot issue somehow - @say-paul is on it (but the bootupd actually fixes the anaconda failure) |
the fix for greenboot has been merged - we'd keep this open until we're bumping the snapshot again to pick the new version (thanks everybody for the help!) |
Describe the bug
Our CI has detected RHEL-9.6 edge-commit fails after the changes introduced by PR #4569
rpm-ostree upgrade
fails to upgrade the system.After ostree image/commit upgrade is built, the edge system detects there's an upgrade available, but after
rpm-ostree upgrade
and reboot, the system rolls back to the previous deployment and the update is not applied.Environment
/etc/os-release
and/etc/redhat-release
):source /etc/os-release
NAME='Red Hat Enterprise Linux'
VERSION='9.6 (Plow)'
ID=rhel
ID_LIKE=fedora
VERSION_ID=9.6
PLATFORM_ID=platform:el9
PRETTY_NAME='Red Hat Enterprise Linux 9.6 Beta (Plow)'
ANSI_COLOR='0;31'
LOGO=fedora-logo-icon
CPE_NAME=cpe:/o:redhat:enterprise_linux:9::baseos
HOME_URL=https://www.redhat.com/
DOCUMENTATION_URL=https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9
BUG_REPORT_URL=https://issues.redhat.com/
REDHAT_BUGZILLA_PRODUCT='Red Hat Enterprise Linux 9'
REDHAT_BUGZILLA_PRODUCT_VERSION=9.6
REDHAT_SUPPORT_PRODUCT='Red Hat Enterprise Linux'
REDHAT_SUPPORT_PRODUCT_VERSION='9.6 Beta'
rpm -qi osbuild-composer)
$ rpm -qa | grep osbuild
osbuild-composer-debugsource-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-debuginfo-130-1.20250129git008b43e.el9.x86_64
python3-osbuild-137-1.el9.noarch
osbuild-selinux-137-1.el9.noarch
osbuild-137-1.el9.noarch
osbuild-depsolve-dnf-137-1.el9.noarch
osbuild-composer-core-130-1.20250129git008b43e.el9.x86_64
osbuild-luks2-137-1.el9.noarch
osbuild-lvm2-137-1.el9.noarch
osbuild-ostree-137-1.el9.noarch
osbuild-composer-worker-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-tests-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-core-debuginfo-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-tests-debuginfo-130-1.20250129git008b43e.el9.x86_64
osbuild-composer-worker-debuginfo-130-1.20250129git008b43e.el9.x86_64
To Reproduce
Steps to reproduce the behavior:
rpm-ostree upgrade
and reboot the system.Expected behavior
The system is able to apply the upgrade commit.
Additional context
In this example the upgrade hash is:
The edge-system detects there's an upgrade available, but rpm-ostree upgrade fails and the system rollbacked to
583f1f500bb5ee3f858409203df2f1883e20cb4cee6a6a4149caafa197a1c95b
:Then the system fails to upgrade, and rollback to ostree:1
It seems the system is failing to remount the file system:
The text was updated successfully, but these errors were encountered: