Bug 1219074 - [Build 20240122] live images: grub2 falls back to text mode
Summary: [Build 20240122] live images: grub2 falls back to text mode
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Live Medium (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marcus Schäfer
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/388...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 08:12 UTC by Dominique Leuenberger
Modified: 2024-07-16 12:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2024-01-23 08:12:14 UTC
## Observation

This seems to be a regression of https://build.opensuse.org/package/rdiff/openSUSE:Factory/grub2?linkrev=base&rev=314

On all live images, grub2 does not show up in the nice, 'graphical' view, but falls back to the pure text mode. 

openQA test in scenario opensuse-Tumbleweed-GNOME-Live-x86_64-gnome-live@64bit-4G fails in
[bootloader](https://openqa.opensuse.org/tests/3886589/modules/bootloader/steps/1)

## Test suite description
Maintainer: dimstar@opensuse.org

Test for openSUSE GNOME Next Live-Media

EXCLUDE_MODULES is a workaround for https://bugzilla.opensuse.org/show_bug.cgi?id=1138401#c10 (except for opensuse_welcome, which is blacklisted on the GNOME live for space reasons)


## Reproducible

Fails since (at least) Build [20240122](https://openqa.opensuse.org/tests/3886589) (current job)


## Expected result

Last good: [20240121](https://openqa.opensuse.org/tests/3883367) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=GNOME-Live&machine=64bit-4G&test=gnome-live&version=Tumbleweed)
Comment 1 Dominique Leuenberger 2024-01-23 09:23:34 UTC
I could track this down to not be the responsibility of the initially though grub2 change, but in fact actually a regression in kiwi - which happened to also be updated in this snapshot

https://build.opensuse.org/request/show/1140588

This is the responsible change here

reassigning to kiwi maintainer
Comment 2 Fabian Vogt 2024-01-23 12:56:11 UTC
The grub2 config template code doesn't handle empty (i.e. default) values properly:

https://github.com/OSInside/kiwi/pull/2420/files#r1463242077
Comment 3 Fabian Vogt 2024-01-23 13:22:01 UTC
On top of that the behaviour if (bootloader_)console is unset also changed. In the case of grub2-mkconfig it no longer sets it to gfxterm by default (which is IMO correct) but for the templated grub2.cfg there is no default (comment #2).

IMO the best option is to make gfxterm the default terminal_output in the template case and not setting terminal_input at all if empty.
Comment 4 Fabian Vogt 2024-02-13 10:24:20 UTC
Ping. We can't have any newer kiwi in Tumbleweed without this fixed.
Comment 5 Marcus Schäfer 2024-02-28 09:45:02 UTC
I added a PR upstream to address this issue:

* https://github.com/OSInside/kiwi/pull/2487
Comment 6 Marcus Schäfer 2024-02-29 13:37:42 UTC
I created submissions to fix this issue:

* TW: created request id 1153240
* ALP: created request id 323056
Comment 8 OBSbugzilla Bot 2024-02-29 15:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1219074) was mentioned in
https://build.opensuse.org/request/show/1153240 Factory / python-kiwi
Comment 10 OBSbugzilla Bot 2024-03-01 11:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1219074) was mentioned in
https://build.opensuse.org/request/show/1153889 Factory / python-kiwi
Comment 12 Maintenance Automation 2024-04-22 12:30:07 UTC
SUSE-RU-2024:1371-1: An update that has four fixes can now be installed.

Category: recommended (moderate)
Bug References: 1207128, 1213595, 1219074, 1221915
Maintenance Incident: [SUSE:Maintenance:33219](https://smelt.suse.de/incident/33219/)
Sources used:
openSUSE Leap 15.5 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro 5.3 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro 5.4 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro 5.5 (src):
 python-kiwi-9.24.43-150100.3.76.1
Development Tools Module 15-SP5 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro 5.1 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro 5.2 (src):
 python-kiwi-9.24.43-150100.3.76.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src):
 python-kiwi-9.24.43-150100.3.76.1
openSUSE Leap Micro 5.3 (src):
 python-kiwi-9.24.43-150100.3.76.1
openSUSE Leap Micro 5.4 (src):
 python-kiwi-9.24.43-150100.3.76.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Marcus Schäfer 2024-04-29 14:01:54 UTC
I think this one should be fixed
Comment 14 Maintenance Automation 2024-07-16 12:31:14 UTC
SUSE-RU-2024:1371-2: An update that has four fixes can now be installed.

Category: recommended (moderate)
Bug References: 1207128, 1213595, 1219074, 1221915
Maintenance Incident: [SUSE:Maintenance:33219](https://smelt.suse.de/incident/33219/)
Sources used:
SUSE Linux Enterprise Micro 5.5 (src):
 python-kiwi-9.24.43-150100.3.76.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.