Open sbesson opened 10 months ago
Forcing the Docker version to 24.0.7
diff --git a/ansible/idr-docker.yml b/ansible/idr-docker.yml
index 2a53643..e87fc6a 100644
--- a/ansible/idr-docker.yml
+++ b/ansible/idr-docker.yml
@@ -6,7 +6,7 @@
roles:
- role: ome.docker
docker_use_ipv4_nic_mtu: True
-
+ docker_version: 24.0.7
tasks:
- name: install docker-python
become: yes
seems to be sufficient to make progress with the playbook. So I suspect some upstream changes incompatible with our way to deploy Docker using ome.docker
.
https://github.com/moby/moby/issues/47308 looks related and is expected to be resolved with Docker 25.0.3 (or the migration to Rocky Linux 9)
When testing devspace using the testing RHEL 9 VM, I had to edit the dockerd
file
What is currently in is
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
and it is expecting
ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock --containerd=/run/containerd/containerd.sock
Note that i did not have the issue on the physical RHEL 9 machine
Downgrading to 24.x version might also solve the problem I have when running devspace (omero-server takes a long time to start). I am currently running
docker --version
Docker version 25.0.2, build 29cf629
I was able to spin up test120
on Friday by downgrading Docker to the last 24.x version. Pushed https://github.com/IDR/deployment/commit/825c70b6b778e76d9efbee0aea492d967c0f3753 accordingly so that we unblock the creation of production & pilot environments. Once Docker 25.0.3 is released or we migrate to Rocky Linux 9, we can evaluate dropping the version pinning.
Possibly affects the IDR monitoring stack as well
Initially reported by @dominikl in the context of a pilot VM, https://github.com/IDR/deployment/blob/0ec6d8d4bb7af1e1df3ab8b67835df7f10da436e/ansible/idr-docker.yml#L7-L8 currently fails with
Looking at the logs
Removing
/etc/docker/daemon.json
or simply commenting out themtu
variable (asdocker_use_ipv4_nic_mtu: false
) suffices to restart the Docker service. Butdocker ps
fails withThe version of Docker is
while on a recent successful environment, it is