Hey all - GitLab Distribution Team Member here
We’ve seen a kernel bug/panic triggered in internal testing when trying to run a container on Ubuntu 20.04 with one of the recently updated cloud provider optimized kernels.
It looks like the Ubuntu Team is aware and is working on it - here’s the launchpad bug link: Bug #1977919 “Docker container creation causes kernel oops on li...” : Bugs : linux-aws-5.13 package : Ubuntu.
Affected kernels (from: Comment #21 : Bug #1977919 : Bugs : linux-aws-5.13 package : Ubuntu)
focal linux-aws-5.13 5.13.0-1028.31~20.04.1
focal linux-azure-5.13 5.13.0-1028.33~20.04.1
focal linux-gcp-5.13 5.13.0-1030.36~20.04.1
focal linux-oracle-5.13 5.13.0-1033.39~20.04.1
For GitLab environments - this could manifest as problems with:
- Gitlab Runner hosts using the docker executor and crashing when trying to launch the helper/build containers
- GitLab Runners using the Docker+Machine executor trying to launch an Ubuntu 20.04 instance with an updated kernel to host docker-based builds and not being able to connect to the docker-machine launched vm.
- Those hosting a docker-based GitLab installation that’s set to start automatically and has been updated to one of the affected kernels.
If you have hosts in AWS, GCP, Azure, and Oracle Cloud running containers and Ubuntu 20.04 - you will want to check on your kernel upgrades and hold off on updating until Ubuntu and the Cloud Providers roll out a fixed kernel.