Bug 1226126 - [Build :34123:kernel-default] system can't snapper rollback to previous kernel
Summary: [Build :34123:kernel-default] system can't snapper rollback to previous kernel
Status: RESOLVED INVALID
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP6
Classification: openSUSE
Component: Kernel (show other bugs)
Version: unspecified
Hardware: x86-64 Other
: P1 - Urgent : Critical
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact:
URL: https://openqa.suse.de/tests/14554983...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 07:04 UTC by Jozef Pupava
Modified: 2024-06-12 01:17 UTC (History)
6 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg (227.01 KB, text/plain)
2024-06-10 07:04 UTC, Jozef Pupava
Details
dumpe2fs /dev/vda1 or /dev/disk/by-path/pci-0000:00:09.0-part1 (19.83 KB, text/plain)
2024-06-10 07:28 UTC, Jozef Pupava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jozef Pupava 2024-06-10 07:04:17 UTC
Created attachment 875393 [details]
dmesg

## Observation

With kernel update https://build.suse.de/request/show/333406
System does boot, but when running snapper rollback to snapshot with previous kernel,
system will end in emergency mode.

Jun 07 18:03:46.967431 susetest mount[539]: mount: /boot: unknown filesystem type 'ext2'.
Jun 07 18:03:46.967431 susetest mount[539]:        dmesg(1) may have more information after failed mount system call.
Jun 07 18:03:46.967622 susetest systemd[1]: boot.mount: Mount process exited, code=exited, status=32/n/a
Jun 07 18:03:46.967627 susetest systemd[1]: boot.mount: Failed with result 'exit-code'.

https://openqa.suse.de/tests/14554983/modules/update_install/steps/343


## Reproducible

Fails since (at least) Build [:34123:dtb-armv7l](https://openqa.suse.de/tests/14554963)


## Expected result

Last good: [:34204:linuxrc](https://openqa.suse.de/tests/14554692) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Server-DVD-Incidents-Install&machine=64bit&test=qam-incidentinstall&version=15-SP6)
Comment 1 Jozef Pupava 2024-06-10 07:06:32 UTC
Same issue on x86_64 15-SP5 with kernel update https://build.suse.de/request/show/333407
Comment 2 Jozef Pupava 2024-06-10 07:28:36 UTC
Created attachment 875395 [details]
dumpe2fs /dev/vda1 or /dev/disk/by-path/pci-0000:00:09.0-part1
Comment 3 Jozef Pupava 2024-06-11 14:12:58 UTC
A rollback of the boot loader is not possible, since all “stages” of the boot loader must fit together. This cannot be guaranteed when doing rollbacks of /boot. [1]

[1] https://doc.opensuse.org/documentation/leap/archive/15.0/reference/html/book.opensuse.reference/cha.snapper.html#sec.snapper.limits.snapshot-boot.grub