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

K3s crashes on startup on Debian Bullseye #2892

Closed
optix2000 opened this issue Feb 4, 2021 · 1 comment
Closed

K3s crashes on startup on Debian Bullseye #2892

optix2000 opened this issue Feb 4, 2021 · 1 comment

Comments

@optix2000
Copy link

optix2000 commented Feb 4, 2021

Environmental Info:
K3s Version:

# k3s --version
k3s version v1.20.2+k3s1 (1d4adb03)

Node(s) CPU architecture, OS, and Version:
x86_64
Debian Bullseye

# uname -a
Linux test 5.10.0-2-amd64 #1 SMP Debian 5.10.9-1 (2021-01-20) x86_64 GNU/Linux

Cluster Configuration:

Single node

Describe the bug:

K3s crashes on startup on Debian Bullseye. Tried and reproduced on both VPSes and physical servers.

Steps To Reproduce:

  • Find favorite VPS provider with Debian Buster (10) and upgrade to Debian Bullseye (11)
echo "
deb http://deb.debian.org/debian/ bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb http://deb.debian.org/debian/ bullseye-updates main
" > /etc/apt/sources.list
apt update
apt dist-upgrade
# follow upgrade prompts
reboot
  • Installed K3s: curl -sfL https://get.k3s.io | sh -s -
  • Also tried with --flannel-backend=none --disable traefik --disable servicelb --disable local-storage --disable-network-policy --disable-cloud-controller, but it didn't change anything.

Expected behavior:

No crash on startup.

Actual behavior:

K3s crashes on startup

Additional context / logs:

~ % curl -sfL https://get.k3s.io | sh -s -
[INFO]  Finding release for channel stable
[INFO]  Using v1.20.2+k3s1 as release
[INFO]  Downloading hash https://github.com/rancher/k3s/releases/download/v1.20.2+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/rancher/k3s/releases/download/v1.20.2+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xe" for details.

journalctl -u k3s > k3s.log

@optix2000
Copy link
Author

Digging deeper this looks related to #900 and confirmed fixed in #2844.

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

No branches or pull requests

1 participant