[ARVADOS] created: 2.1.0-294-g4fe66210f

Git user git at public.arvados.org
Tue Jan 26 16:22:17 UTC 2021


        at  4fe66210fc0d20cceda33cfb954b5feaf3d19ba3 (commit)


commit 4fe66210fc0d20cceda33cfb954b5feaf3d19ba3
Author: Nico Cesar <nico at nicocesar.com>
Date:   Tue Jan 26 11:20:52 2021 -0500

    Doc update: Arvados 2.1 is not compatible with cgroups V2.
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/doc/_includes/_install_compute_docker.liquid b/doc/_includes/_install_compute_docker.liquid
index fd5d88a9c..4af428e7c 100644
--- a/doc/_includes/_install_compute_docker.liquid
+++ b/doc/_includes/_install_compute_docker.liquid
@@ -10,18 +10,20 @@ Linux can report what compute resources are used by processes in a specific cgro
 
 To enable cgroups accounting, you must boot Linux with the command line parameters @cgroup_enable=memory swapaccount=1 at .
 
+To make sure cgroups v2 accounting is not enabled, you must boot Linux with the command line parameters @systemd.unified_cgroup_hierarchy=0 at .
+
 After making changes, reboot the system to make these changes effective.
 
 h3. Red Hat and CentOS
 
 <notextile>
-<pre><code>~$ <span class="userinput">sudo grubby --update-kernel=ALL --args='cgroup_enable=memory swapaccount=1'</span>
+<pre><code>~$ <span class="userinput">sudo grubby --update-kernel=ALL --args='cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0'</span>
 </code></pre>
 </notextile>
 
 h3. Debian and Ubuntu
 
-Open the file @/etc/default/grub@ in an editor.  Find where the string @GRUB_CMDLINE_LINUX@ is set.  Add @cgroup_enable=memory swapaccount=1@ to that string.  Save the file and exit the editor.  Then run:
+Open the file @/etc/default/grub@ in an editor.  Find where the string @GRUB_CMDLINE_LINUX@ is set.  Add @cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0@ to that string.  Save the file and exit the editor.  Then run:
 
 <notextile>
 <pre><code>~$ <span class="userinput">sudo update-grub</span>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list