Closed henrywang closed 2 months ago
Yes I saw this on one machine too, it's really concerning.
We may have broken the semantics for how we write refs as part of the upgrade in https://github.com/ostreedev/ostree-rs-ext/pull/663
Should be fixed by https://github.com/containers/bootc/pull/804 - thanks for the report.
Verified on bootc-202409242020.g34e104d217-1.el9.x86_64
.
This issue is for anaconda installation only (bib anaconda-iso included),
To explain the reason for this (it's important) - it's because the way Anaconda works today we rely on the version of the ostree-container code which is embedded in the ISO (ref https://github.com/rhinstaller/anaconda/discussions/5197 ). So we have version skew.
But we really need to test the version-skew case in general, i.e. we want an "upgrade from stable" test that needs to gate PRs on this repo by default probably.
But we really need to test the version-skew case in general, i.e. we want an "upgrade from stable" test that needs to gate PRs on this repo by default probably.
Ack. It's in my list. The test flow would be start vm from fedora/cs-bootc image, and upgrade bootc with dnf upgrade (after bootc usr-overlay), then try bootc status. Adding this test into integration test
is more reasonable.
To explain the reason for this (it's important) - it's because the way Anaconda works today we rely on the version of the ostree-container code which is embedded in the ISO (ref rhinstaller/anaconda#5197 ). So we have version skew.
Hi @cgwalters, do you mean the ostree-rs-ext
version bumped by rpm-ostree (which is used by anadonda) is different from ostree-rs-ext
version bumped by bootc in system. That caused this issue. Do I understand correct? Thanks.
Hi @cgwalters, do you mean the ostree-rs-ext version bumped by rpm-ostree (which is used by anadonda) is different from ostree-rs-ext version bumped by bootc in system. That caused this issue. Do I understand correct? Thanks.
Yep!
This issue is for
anaconda
installation only (bib anaconda-iso included),bootc install
does not have this issue. Test result: https://gitlab.com/redhat/rhel/bifrost/tests/bootc-image/-/issues/219Deploy bootc image with anaconda kickstart and boot the system. System can be booted without error. Check ostree status with
rpm-ostree
successful. But check withbootc status
failed.bootc-202409192026.g85b2ca5256-1.el9.x86_64
.bootc-202409191923.geea3996f8f-1.el9.x86_64
does not have this issue.eea3996f8f
to85b2ca5256
. The https://github.com/containers/bootc/commit/a8737d9e1456ca85db99d8911a6768f0f2aab21f might be the root case.