-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
FIPS Kernel Panic on v19 Kernel 5.4.x #632
Comments
We're currently engaging with the Amazon Linux team to try to root cause this issue and get the kernel patched to fix it. In the meantime, there are a couple options for customers to unblock themselves until we solve the root issue. Disclaimer: These steps may not be realistic for all customers, and I have not validated these other than that they successfully use the 4.14 kernel. The 4.14 kernel is tested with AMIs built for k8s version 1.18 and below. Pass in 4.14 "kernel_version" when building AMI If a customer builds their own AMI with the amazon-eks-ami GitHub repo, they can set 4.14 as the kernel version and build a new AMI. Downgrade the kernel I haven't done any extensive testing on this, so it would be best if customers were able to test in a dev environment, but they could downgrade the kernel before using the AMIs. This worked for me. Get the install 4.14 version:
Set the default kernel and verify:
Reboot:
|
Still see this error with Kernel, any update ? |
Sorry for the delays. The AmazonLinux team is still actively working on this. I will post here as soon as I have word that it's fixed. |
@mmerkes I am an Amazon employee. I have a partner asking about this issue, as a blocker. Will reach out for feedback. |
AmazonLinux believes that they have a fix for this issue, and we're just waiting on them to make it available to customers. I'll update here when it's pushed. |
The AL2 fix is now available in the amazon-linux-extras repo, so if you use the AL2 image to build your own AMIs, you should be good to go. EKS is working on releasing new AMIs with the fix as well, so expect that to be coming very soon. We'll update here and resolve the issue when we've published new AMIs. |
As of release v20210716, this issue should be resolved! If you still have issues, please comment here or open a new issue. |
What happened:
Kernel panic on reboot when building v1.19 with FIPS enabled using kernel 5.4.x
What you expected to happen:
Host should reboot without kernel panic and have FIPS enabled
How to reproduce it (as minimally and precisely as possible):
Build v1.19 on 5.4.x kernel with FIPS enabled following #513
Anything else we need to know?:
Builds successfully on all versions prior to kernel upgrade from 4.x to 5.4.x https://www.github.com/awslabs/amazon-eks-ami/commit/e3f1b910f83ad1f27e68312e50474ea6059f052d#diff-0a1b54f1420f4f3189806328b24b37ccR10
Error from EC2 console log:
Environment:
aws eks describe-cluster --name <name> --query cluster.platformVersion
): Allaws eks describe-cluster --name <name> --query cluster.version
): 1.19uname -a
): 5.4.95-42.163.amzn2 amzn2extra-kernel-5.4cat /etc/eks/release
on a node):The text was updated successfully, but these errors were encountered: