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.
This commit is contained in:
Chris Meyers 2021-06-18 08:26:51 -04:00 committed by Shane McDonald
parent a60abe38a8
commit 0a5e9da287
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -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