Skip to content

Commit

Permalink
Pin Kernel 5.4 to 5.4.209-116.367 to prevent nodes from going into Un…
Browse files Browse the repository at this point in the history
…ready (#1072)

We're investigating issues with later Kernel versions which cause nodes to become Unready. Till those issues are resolved, pinning the Kernel to the last known good version.
  • Loading branch information
saurav-agarwalla authored Oct 31, 2022
1 parent 3b6b523 commit ff27e24
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/upgrade_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ fi
if [[ $KERNEL_VERSION == "4.14" ]]; then
sudo yum update -y kernel
elif [[ $KERNEL_VERSION == "5.4" ]]; then
sudo amazon-linux-extras install -y kernel-5.4
# Pinning Kernel to 5.4.209-116.367 since we're investigating issues with later Kernel versions which cause nodes to become Unready.
# sudo amazon-linux-extras install -y kernel-5.4
sudo amazon-linux-extras enable kernel-5.4=latest
sudo yum -y install kernel-5.4.209-116.367.amzn2
sudo yum install -y yum-plugin-versionlock
sudo yum versionlock kernel-5.4*
elif [[ $KERNEL_VERSION == "5.10" ]]; then
sudo amazon-linux-extras install -y kernel-5.10
else
Expand Down

0 comments on commit ff27e24

Please sign in to comment.