Bug 1214383 - [Build 13.4] Some settings were not found on S390x and ppc64le for yast2 kdump
Summary: [Build 13.4] Some settings were not found on S390x and ppc64le for yast2 kdump
Status: RESOLVED INVALID
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP6
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact:
URL: https://openqa.suse.de/tests/11860767...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 07:56 UTC by Huajian Luo
Modified: 2023-08-28 12:13 UTC (History)
1 user (show)

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


Attachments
yast2log (2.21 MB, application/x-bzip)
2023-08-18 07:57 UTC, Huajian Luo
Details
sysconfig_kdump.txt (10.07 KB, text/plain)
2023-08-23 09:08 UTC, Huajian Luo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Huajian Luo 2023-08-18 07:56:18 UTC
## Description

 When run yast2 kdump with module yast2_kdump_accept_kdump_options, some settings were not found in the /etc/sysconfig/kdump
 The expect settings are:
   - path: /etc/sysconfig/kdump
    settings:
      KDUMP_DUMPLEVEL: 31
      KDUMP_DUMPFORMAT: lzo
      KDUMP_SAVEDIR: '(file://|)/var/crash'
      KDUMP_KEEP_OLD_DUMPS: 5
      KDUMP_IMMEDIATE_REBOOT: 'yes'
      KDUMP_COPY_KERNEL: 'yes'

## Logs

On s390x these settings were not found in /etc/sysconfig/kdump.
https://openqa.suse.de/tests/11860767#step/yast2_kdump_accept_kdump_options/13

Setting 'KDUMP_DUMPFORMAT' with value 'lzo' not found in /etc/sysconfig/kdump.
Setting 'KDUMP_KEEP_OLD_DUMPS' with value '5' not found in /etc/sysconfig/kdump.
Setting 'KDUMP_IMMEDIATE_REBOOT' with value 'yes' not found in /etc/sysconfig/kdump.

on ppc64le:
https://openqa.suse.de/tests/11860767#step/yast2_kdump_accept_kdump_options/13
Setting 'KDUMP_FADUMP' with value 'yes' not found in /etc/sysconfig/kdump.

## Observation

openQA test in scenario sle-15-SP6-Online-s390x-yast2_ncurses_textmode@s390x-kvm-sle15 fails in
[yast2_kdump_accept_kdump_options](https://openqa.suse.de/tests/11860767/modules/yast2_kdump_accept_kdump_options/steps/13)

## Test suite description
Test for yast2 UI, ncurses only in textmode.


## Reproducible

Fails since (at least) Build [13.4](https://openqa.suse.de/tests/11860767) (current job)


## Expected result

Last good: [10.3](https://openqa.suse.de/tests/11801924) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=s390x&distri=sle&flavor=Online&machine=s390x-kvm-sle15&test=yast2_ncurses_textmode&version=15-SP6)
Comment 1 Huajian Luo 2023-08-18 07:57:57 UTC
Created attachment 868868 [details]
yast2log
Comment 2 Michal Filka 2023-08-23 07:03:30 UTC
I think that it is caused by change in options available in the config by default.

Could you attach complete sysconfig/kdump ?
Comment 3 Huajian Luo 2023-08-23 09:08:10 UTC
Created attachment 868963 [details]
sysconfig_kdump.txt
Comment 4 Stefan Hundhammer 2023-08-28 12:13:39 UTC
Diff between that /etc/sysconfig/kdump from comment #3 and the one from my Leap 15.5 /etc/sysconfig/kdump (only parameter lines, i.e. those with a '='):

@@ -1 +1 @@
-KDUMP_AUTO_RESIZE="false"
+KDUMP_AUTO_RESIZE="no"
@@ -11,2 +11,2 @@
-KDUMP_IMMEDIATE_REBOOT="true"
-KDUMP_KEEP_OLD_DUMPS="0"
+KDUMP_IMMEDIATE_REBOOT="yes"
+KDUMP_KEEP_OLD_DUMPS="5"
@@ -21 +21 @@
-KDUMP_SAVEDIR="/var/crash"
+KDUMP_SAVEDIR="file:///var/crash"
@@ -28 +28 @@
-KDUMP_VERBOSE="0"
+KDUMP_VERBOSE="3"


I.e. some now use "yes" / "no" instead of "true" / "false", and some numeric values changed their defaults.

I don't see any of this as a bug, much less a YaST bug. Time to adapt that OpenQA test to changing times AFAICS.