[arvados] created: 2.6.0-338-g8613ee5ce
git repository hosting
git at public.arvados.org
Tue Jul 4 19:33:43 UTC 2023
at 8613ee5ce693d88570794d1a2fc071c43832fc1a (commit)
commit 8613ee5ce693d88570794d1a2fc071c43832fc1a
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Tue Jul 4 16:25:46 2023 -0300
20707: Updates default to Debian 11 AMI. Forces cgroups v1 for crunchstat.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/compute-images/arvados-images-aws.json b/tools/compute-images/arvados-images-aws.json
index 505f60ed7..6c7aa9c41 100644
--- a/tools/compute-images/arvados-images-aws.json
+++ b/tools/compute-images/arvados-images-aws.json
@@ -4,7 +4,7 @@
"aws_access_key": "",
"aws_profile": "",
"aws_secret_key": "",
- "aws_source_ami": "ami-031283ff8a43b021c",
+ "aws_source_ami": "ami-0a9d5908c7201e91d",
"aws_ebs_autoscale": "",
"aws_associate_public_ip_address": "",
"aws_ena_support": "",
diff --git a/tools/compute-images/scripts/base.sh b/tools/compute-images/scripts/base.sh
index d186f4c52..c500dc18c 100644
--- a/tools/compute-images/scripts/base.sh
+++ b/tools/compute-images/scripts/base.sh
@@ -149,8 +149,8 @@ wait_for_apt_locks && $SUDO DEBIAN_FRONTEND=noninteractive apt-get -qq --yes rem
$SUDO mkdir -p /etc/arvados/docker-cleaner
$SUDO echo -e "{\n \"Quota\": \"10G\",\n \"RemoveStoppedContainers\": \"always\"\n}" > /etc/arvados/docker-cleaner/docker-cleaner.json
-# Enable cgroup accounting
-$SUDO sed -i 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"/g' /etc/default/grub
+# Enable cgroup accounting (forcing cgroups v1)
+$SUDO sed -i 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0"/g' /etc/default/grub
$SUDO update-grub
# Make sure user_allow_other is set in fuse.conf
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list