From 0a5e9da287bd79073824d0a090c7ac5e7b1ca39f Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 18 Jun 2021 08:26:51 -0400 Subject: [PATCH] replace default oci runtime runc with crun * Our tests could consistently get awx jobs into a deadlocked state whenever the parallelism was high. Even podman ps would hang when the system was in this state. We don't know exactly where in runc the bug is but the deadlocks stopped happening when we changed the OCI runtime environment to crun. --- tools/ansible/roles/dockerfile/templates/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 index 38a7931d58..186df82e1f 100644 --- a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 +++ b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 @@ -153,7 +153,7 @@ RUN dnf --enablerepo=debuginfo -y install python3-debuginfo || : {% if build_dev|bool %} RUN dnf install -y podman -RUN echo -e '[engine]\ncgroup_manager = "cgroupfs"\nevents_logger = "file"' > /etc/containers/containers.conf +RUN echo -e '[engine]\ncgroup_manager = "cgroupfs"\nevents_logger = "file"\nruntime = "crun"' > /etc/containers/containers.conf {% endif %} # Ensure we must use fully qualified image names