Skip to content

cfg: Add global kdump RAS params to ras config files#397

Merged
PraveenPenguin merged 1 commit into
lop-devops:masterfrom
misanjumn:ras-kdump
Jul 1, 2026
Merged

cfg: Add global kdump RAS params to ras config files#397
PraveenPenguin merged 1 commit into
lop-devops:masterfrom
misanjumn:ras-kdump

Conversation

@misanjumn

Copy link
Copy Markdown
Contributor

cfg: Add global kdump RAS params to ras config files

Add the following kdump-related parameters to the global section of ras.cfg, ras_p1.cfg, ras_p2.cfg, and ras_p3.cfg to support the KdumpManager interface in utils_kdump.py:

  • setup_kdump: controls whether kdump setup is performed
  • guest_upstream_kernel: flag for upstream kernel usage
  • upstream_kernel_vmlinux: path to vmlinux for upstream kernels
  • install_missing_packages: controls auto-installation of packages
  • crashkernel_value: reserved memory for crash kernel (1500M)
  • crash_dir: directory where vmcore files are written (/var/crash/)
  • debug_dir: directory for debug artifacts (/home/)
  • dump_dir: directory for dump output (/home/)

All parameters are set to safe/disabled defaults so existing tests are unaffected unless explicitly overridden per test variant.

Signed-off-by: Misbah Anjum N misanjumn@ibm.com

Add the following kdump-related parameters to the global section of
ras.cfg, ras_p1.cfg, ras_p2.cfg, and ras_p3.cfg to support the
KdumpManager interface in utils_kdump.py:

  - setup_kdump: controls whether kdump setup is performed
  - guest_upstream_kernel: flag for upstream kernel usage
  - upstream_kernel_vmlinux: path to vmlinux for upstream kernels
  - install_missing_packages: controls auto-installation of packages
  - crashkernel_value: reserved memory for crash kernel (1500M)
  - crash_dir: directory where vmcore files are written (/var/crash/)
  - debug_dir: directory for debug artifacts (/home/)
  - dump_dir: directory for dump output (/home/)

All parameters are set to safe/disabled defaults so existing tests
are unaffected unless explicitly overridden per test variant.

Signed-off-by: Misbah Anjum N <misanjumn@ibm.com>
@misanjumn

Copy link
Copy Markdown
Contributor Author

Test Logs for Kdump utility:

 (07/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.kdump_no_stress:  PASS (207.32 s)
 (08/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.kdump_with_stress_crash_utility: STARTED
 (08/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.kdump_with_stress_crash_utility:  PASS (547.72 s)
 (09/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.two_guests_kdump_no_stress: STARTED
 (09/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.two_guests_kdump_no_stress:  PASS (207.12 s)
 (10/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.two_guests_kdump_with_stress_crash_utility: STARTED
 (10/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.two_guests_kdump_with_stress_crash_utility:  PASS (546.74 s)
 (11/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.four_guests_kdump_no_stress: STARTED
 (11/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.four_guests_kdump_no_stress:  PASS (206.46 s)
 (12/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.four_guests_kdump_with_stress_crash_utility: STARTED
 (12/12) type_specific.io-github-autotest-libvirt.guest_kernel_debugging.guest_kdump.four_guests_kdump_with_stress_crash_utility:  PASS (547.82 s)

Comment thread config/tests/guest/libvirt/ras.cfg
@PraveenPenguin PraveenPenguin merged commit 0f2f7a0 into lop-devops:master Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants