Thanks for taking the time to report this bug and trying to make Ubuntu
better.

This seems to be a real issue, in the kubernetes documentation they tell
users to set this variable to true:

https://kubernetes.io/docs/setup/production-environment/container-
runtimes/#containerd-systemd

We are planning to update containerd to the latest upstream version
which will fix this issue as you mentioned. While this does not happen
here users can find a simple workaround for that.

** Changed in: containerd (Ubuntu)
       Status: New => Triaged

** Changed in: containerd (Ubuntu)
   Importance: Undecided => Low

** Changed in: apt (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1979313

Title:
  kubeadm doesn't work with containerd version of apt install

Status in apt package in Ubuntu:
  Invalid
Status in containerd package in Ubuntu:
  Triaged

Bug description:
  Version of Ubuntu:
  Description:    Ubuntu 22.04 LTS
  Release:        22.04

  kubeadm:
    Installed: 1.24.2-00
    Candidate: 1.24.2-00

  Package that has the problem:
  containerd:
    Installed: 1.5.9-0ubuntu3
    Candidate: 1.5.9-0ubuntu3
    Version table:
   *** 1.5.9-0ubuntu3 500
          500 http://ro.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
          100 /var/lib/dpkg/status

  Problem:
  Kubeadm is not compatibile with this version of containerd that is installed 
by `apt install containerd`.
  If I use `kubeadm init` it will create a cluster which instead of staying 
alive will die after a couple of minutes.
  The problem is in the config file of containerd, which has the following 
parameter set to false: `SystemdCgroup = false`

  Solution:
  To solve this, the containerd config parameter SystemdCgroup needs to be set 
to true.
  It is set to true in the containerd v1.6.2, but by default, apt installs the 
version v1.5.9, which worked on Ubuntu 20.04 but does not work for Ubuntu 22.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1979313/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to