8000 image: fix deadlock on boot by using AWS linux kernel by daniel-weisse · Pull Request #2115 · edgelesssys/constellation · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

image: fix deadlock on boot by using AWS linux kernel #2115

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

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

daniel-weisse
Copy link
Member
@daniel-weisse daniel-weisse commented Jul 18, 2023

Context

Constellation nodes on AWS SEV-SNP frequently get stuck during boot.
They are usually automatically cleaned up and replaced by AWS after a period of 5-10 minutes.
After a lot of testing, our Kernel was deemed to be the problem.

Proposed change(s)

  • Build images using a repackaged AWS Linux Kernel, replacing the upstream Fedora Kernel

Related issue

Additional info

This does not seem to fix all problems related to booting SEV-SNP VMs, but it seems to make things a lot more stable.

We'll need a build process for the Kernel.
The standard AWS Linux Kernel (currently 6.1.34-59.116) does not support dm-verity and has dependencies on packages which aren't actually required.
We have a prebuilt Kernel with the required modules, but in the future we should automate the process of building this Kernel.

Checklist

  • Update docs
  • Add labels (e.g., for changelog category)
  • Is PR title adequate for changelog?
  • Link to Milestone

@daniel-weisse daniel-weisse requested a review from malt3 as a code owner July 18, 2023 09:55
@daniel-weisse daniel-weisse changed the title Use AWS Linux kernel for AWS images image: use AWS linux kernel for AWS images to fix deadlock Jul 18, 2023
@daniel-weisse daniel-weisse added the bug fix Fixing a bug label Jul 18, 2023
@daniel-weisse daniel-weisse added this to the v2.10.0 milestone Jul 18, 2023
@netlify
Copy link
netlify bot commented Jul 18, 2023

Deploy Preview for constellation-docs ready!

Name Link
🔨 Latest commit 0a81d5d
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/64b66210466c600008f5db95
😎 Deploy Preview https://deploy-preview-2115--constellation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@daniel-weisse daniel-weisse force-pushed the test/image/downgrade-aws-kernel branch from 68e3385 to 0a81d5d Compare July 18, 2023 09:57
@daniel-weisse daniel-weisse merged commit d03f8c7 into main Jul 18, 2023
@daniel-weisse daniel-weisse deleted the test/image/downgrade-aws-kernel branch July 18, 2023 13:08
@derpsteb derpsteb added the needs backport This PR needs to be backported to a previous release label Jul 19, 2023
derpsteb pushed a commit that referenced this pull request Jul 19, 2023
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@derpsteb derpsteb changed the title image: use AWS linux kernel for AWS images to fix deadlock image: fix deadlock on boot by using AWS linux kernel Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixing a bug needs backport This PR needs to be backported to a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0