Skip to content
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

core-initrd: make Azure kernels reboot upon panic #15123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nukelet
Copy link
Member

@nukelet nukelet commented Feb 24, 2025

Add the "panic=60" kernel cmdline option for Azure kernels in order to make them reboot after 60s upon a panic during boot. This will be relevant for implementing a fallback mechanism in nullboot, allowing rollbacks in the event of a faulty kernel upgrade. The 60s timeout is chosen to allow easier collection of console logs during troubleshooting.

Thanks for helping us make a better snapd!
Have you signed the license agreement and read the contribution guide?

Add the "panic=60" kernel cmdline option for Azure kernels in order to
make them reboot after 60s upon a panic during boot. This will be
relevant for implementing a fallback mechanism in nullboot, allowing
rollbacks in the event of a faulty kernel upgrade. The 60s timeout is
chosen to allow easier collection of console logs during troubleshooting.

Signed-off-by: Vinicius Peixoto <[email protected]>
Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.06%. Comparing base (a272aac) to head (cce5026).
Report is 40 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15123      +/-   ##
==========================================
- Coverage   78.07%   78.06%   -0.01%     
==========================================
  Files        1182     1184       +2     
  Lines      157743   158016     +273     
==========================================
+ Hits       123154   123360     +206     
- Misses      26943    26990      +47     
- Partials     7646     7666      +20     
Flag Coverage Δ
unittests 78.06% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Feb 24, 2025

Tue Feb 25 12:21:08 UTC 2025
The following results are from: https://github.com/canonical/snapd/actions/runs/13509754053

No spread failures reported

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.

1 participant