Bug 2029804

Summary: kdump: Add reboot_required for systems with kdump not pre-enabled and requiring reboot
Product: Red Hat Enterprise Linux 8 Reporter: Sergei Petrosian <spetrosi>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED DUPLICATE QA Contact: CS System Management SST QE <rhel-cs-system-management-subsystem-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: nhosoi, spetrosi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2029806 (view as bug list) Environment:
Last Closed: 2021-12-07 14:41:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2029806    

Description Sergei Petrosian 2021-12-07 10:53:15 UTC
Description of problem:
Systems that have the kdump service disabled might not have memory reserved and loaded for crashkernel. Such system require enabling kdump and rebooting, hence the kdump_reboot_ok variable must be added to the kdump role

How reproducible:


Steps to Reproduce:
Run the role on the system with disabled kdump. I.e. the `/sys/kernel/kexec_crash_size` file on the system contains `0`.


Actual results:
The role either fails or passes without errors 

Expected results:
The role passes and sets the `kdump_reboot_required` fact to indicate that reboot is required. Or passes with reboot if `kdump_reboot_ok: true` is set.

Comment 1 Sergei Petrosian 2021-12-07 10:56:02 UTC
Resolved by https://github.com/linux-system-roles/kdump/pull/84

Comment 2 Rich Megginson 2021-12-07 14:41:25 UTC

*** This bug has been marked as a duplicate of bug 2029605 ***