Skip to content

[AI Generated] BugFix: Scale kdump timeouts and crashkernel size for large memory VMs#4447

Open
Gnandeep99 wants to merge 1 commit intomainfrom
bugfix/kdump-timeout-large-vm_290426_100929
Open

[AI Generated] BugFix: Scale kdump timeouts and crashkernel size for large memory VMs#4447
Gnandeep99 wants to merge 1 commit intomainfrom
bugfix/kdump-timeout-large-vm_290426_100929

Conversation

@Gnandeep99
Copy link
Copy Markdown
Collaborator

@Gnandeep99 Gnandeep99 commented Apr 29, 2026

Summary

Scale kdump crashkernel reservation, dump timeout, and reboot timeout with tiered thresholds for large memory VMs (>1TB) to prevent OSProvisioningTimeout failures on multi-TB VMs like M416.

Validation Results

Image Result
Canonical ubuntu-22_04-lts server 22.04 / Standard_D8ds_v5 / westus3 PASSED

Copilot AI review requested due to automatic review settings April 29, 2026 17:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adjusts kdump configuration to better support crash testing on very large-memory VMs by scaling crashkernel reservation and timeouts based on total RAM.

Changes:

  • Add tiered crashkernel sizing for TB-scale memory.
  • Increase vmcore dump timeout for multi-TB systems.
  • Increase reboot timeout to account for longer memory initialization on large VMs.

Comment thread lisa/tools/kdump.py
Comment thread lisa/tools/kdump.py Outdated
Comment thread lisa/tools/kdump.py
Comment thread lisa/tools/kdump.py
@github-actions
Copy link
Copy Markdown

✅ AI Test Selection — PASSED

1 test case(s) selected (view run)

Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest

Count
✅ Passed 0
❌ Failed 0
⏭️ Skipped 1
Total 1
Test case details
Test Case Status Time (s) Message
verify_mshv_crash (lisa_0_0) ⏭️ SKIPPED 6.679 before_case skipped: MSHV_DIAG not enabled, skip

…large memory VMs

- Tiered crashkernel allocation: 4G for >8TB, 2G for >4TB, 1G for >1TB RAM
- Tiered dump timeout: 4800s for >8TB, 3600s for >4TB, 2400s for >1TB RAM
- Tiered reboot timeout: 1200s for >4TB, 900s for >1TB, 600s default
- Fixes kdumpcrash_validate_on_cpu415 OSProvisioningTimeout on M416 VMs
@Gnandeep99 Gnandeep99 force-pushed the bugfix/kdump-timeout-large-vm_290426_100929 branch from 05aa9ca to 26b56b6 Compare April 30, 2026 00:36
@github-actions
Copy link
Copy Markdown

✅ AI Test Selection — PASSED

1 test case(s) selected (view run)

Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest

Count
✅ Passed 0
❌ Failed 0
⏭️ Skipped 1
Total 1
Test case details
Test Case Status Time (s) Message
verify_mshv_crash (lisa_0_0) ⏭️ SKIPPED 8.928 before_case skipped: MSHV_DIAG not enabled, skip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants