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

aufs-tools is removed from ubuntu jammy #8741

Closed
shaohq opened this issue Apr 22, 2022 · 8 comments · Fixed by #8754
Closed

aufs-tools is removed from ubuntu jammy #8741

shaohq opened this issue Apr 22, 2022 · 8 comments · Fixed by #8754
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@shaohq
Copy link

shaohq commented Apr 22, 2022

Environment:

  • VMware

  • OS:
    Linux 5.15.0-25-generic x86_64
    PRETTY_NAME="Ubuntu 22.04 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04 (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy

  • Version of Ansible:
    ansible 2.10.15
    config file = /root/git/kuboard-spray-resource/ansible.cfg
    configured module search path = ['/root/git/kuboard-spray-resource/3rd/kubespray/library']
    ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
    executable location = /usr/local/bin/ansible
    python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]

  • Version of Python:
    Python 3.8.10

Kubespray version (commit) :
Tag v2.18.1

Network plugin used:
calico

Output of ansible run:

TASK [kubernetes/preinstall : Install packages requirements] *******************
fatal: [node5]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}
FAILED - RETRYING: Install packages requirements (2 retries left).
FAILED - RETRYING: Install packages requirements (1 retries left).
fatal: [node3]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}
FAILED - RETRYING: Install packages requirements (1 retries left).
FAILED - RETRYING: Install packages requirements (1 retries left).
fatal: [node4]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}
FAILED - RETRYING: Install packages requirements (1 retries left).
fatal: [node2]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}
fatal: [node6]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}
fatal: [node1]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'aufs-tools' is available"}

Anything else do we need to know:

aufs-tools has been removed from ubuntu jammy

@shaohq shaohq added the kind/bug Categorizes issue or PR as related to a bug. label Apr 22, 2022
@liupeng0518
Copy link
Member

We haven't tested it on ubuntu22.04 yet.

@MaartenMol
Copy link

We haven't tested it on ubuntu22.04 yet.

Was gonna test this on 22.04 myself. However I saw this issue. You say that 22.04 isn't tested yet. Is there any table or page that indicates operating systems that are tested?

@liupeng0518
Copy link
Member

We haven't tested it on ubuntu22.04 yet.

Was gonna test this on 22.04 myself. However I saw this issue. You say that 22.04 isn't tested yet. Is there any table or page that indicates operating systems that are tested?

https://kubespray.io/#/?id=supported-linux-distributions

@oomichi
Copy link
Contributor

oomichi commented Apr 25, 2022

aufs-tools was required for docker.io originally and the dependency has been removed from docker.io since ubuntu22.04 according to https://bugs.launchpad.net/ubuntu/+source/aufs-tools/+bug/1947004
It is fine to remove aufs-tools from roles/kubernetes/preinstall/vars/ubuntu.yml for ubuntu22.04.

@MaartenMol
Copy link

aufs-tools was required for docker.io originally and the dependency has been removed from docker.io since ubuntu22.04 according to https://bugs.launchpad.net/ubuntu/+source/aufs-tools/+bug/1947004

It is fine to remove aufs-tools from roles/kubernetes/preinstall/vars/ubuntu.yml for ubuntu22.04.

Is this also a required work around when using containerd instead of Docker?

@laupse
Copy link

laupse commented Apr 27, 2022

aufs-tools was required for docker.io originally and the dependency has been removed from docker.io since ubuntu22.04 according to https://bugs.launchpad.net/ubuntu/+source/aufs-tools/+bug/1947004 It is fine to remove aufs-tools from roles/kubernetes/preinstall/vars/ubuntu.yml for ubuntu22.04.

I did try this. And the whole playbook run smooth, after removing aufs-tools, on 3 Ubuntu 22.04 server (bare metal). And so far no issue with the Kubernetes cluster (Except the fact it was needed to upgrade calico version)

@cristicalin
Copy link
Contributor

I'm guessing on 20.04 we should default to using overlayfs2 anyway even for docker so for me it looks like a sensible change.

@oomichi
Copy link
Contributor

oomichi commented Apr 27, 2022

aufs-tools was required for docker.io originally and the dependency has been removed from docker.io since ubuntu22.04 according to https://bugs.launchpad.net/ubuntu/+source/aufs-tools/+bug/1947004
It is fine to remove aufs-tools from roles/kubernetes/preinstall/vars/ubuntu.yml for ubuntu22.04.

Is this also a required work around when using containerd instead of Docker?

That is a nice point.
At this time, the default container_manager is containerd not docker on Kubespray.
I tried to test some patterns after deleting aufs-tools from roles/kubernetes/preinstall/vars/ubuntu.yml

  • container_manager: containerd on Ubuntu 18.04: Works
  • container_manager: docker on Ubuntu 18.04: Works

docker-ce(not docker.io) is installed on Ubuntu 18.04 for container_manager: docker.
So I think we just can remove aufs-tools from the requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants