-
Notifications
You must be signed in to change notification settings - Fork 296
Automate enable kdump for agama installation #23746
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
base: master
Are you sure you want to change the base?
Conversation
13e43cb to
26df2f9
Compare
6e520e8 to
be5168b
Compare
2bedb65 to
bc7c142
Compare
7c0ff5c to
1a7b159
Compare
tests/yam/validate/validate_kdump.pm
Outdated
| my ($self) = @_; | ||
| select_console 'root-console'; | ||
|
|
||
| systemctl("is-active kdump.service", ignore_failure => 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it really ignore failure? it should fail if the service is not as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.
tests/yam/validate/validate_kdump.pm
Outdated
| if (is_s390x()) { | ||
| power_action('reboot', textmode => 1); | ||
| } else { | ||
| power_action('reboot', keepconsole => 1, textmode => 1); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like this could work and it is much shorter (not tested):
power_action('reboot', is_s390x ? () : keepconsole => 1, textmode => 1);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed and works ✅
1d0669d to
00034ba
Compare
- Automate enable Kdump for agama installation - Related ticket: rogress.opensuse.org/issues/189150
Automate enabling kdump since first boot from Agama profile