Project

General

Profile

Actions

Support #17271

closed

document that compute nodes need to use cgroupsv1 / cgroupsfs for Docker

Added by Peter Amstutz over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Documentation
Target version:
Due date:
Story points:
-
Release relationship:
Auto

Description

If you have the following versions

linux kernel > 4.x
systemd > 247 (en debian family)
docker > 20.10

Is very likely that you have cgroupsv2 enable by default. You can check by doing

if [ -e /sys/fs/cgroup/cgroup.controllers ] 
then 
  echo "cgroupsV2 enabled" 
fi

Unfortunately Arvados 2.1 doesn't have support for cgrupsV2 so compute nodes need to have this disabled
this can be done by adding `systemd.unified_cgroup_hierarchy=0` to the kernel parameters.

Debian / Ubuntu:

in /etc/default/grub make sure that you have
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"

update-grub

Fedora 31

dnf install -y grubby
grubby --update-kernel=ALL --args=”systemd.unified_cgroup_hierarchy=0" 


Subtasks 1 (0 open1 closed)

Task #17280: Review 17271-doc-cgroupv2ResolvedNico César01/26/2021Actions
Actions

Also available in: Atom PDF