Could not determine my container ID: Container not found

Hi all,

I’m trying to install portworx on a rke2 cluster provisionned on vsphere using rancher 2. I’ve tried using the helm chart and px-central but each time it fails with the same error. The portworx pods fail to start with these errors :

time=“2022-02-04T15:57:41Z” level=error msg=“Could not instantiate container client” error=“Could not determine my container ID: Container not found”
Fri, Feb 4 2022 4:57:41 pm time=“2022-02-04T15:57:41Z” level=error msg=“Could not talk to Docker/Containerd/CRI: Could not determine my container ID: Container not found - please ensure ‘/var/run/docker.sock’, ‘/run/containerd/containerd.sock’ or ‘/var/run/crio/crio.sock’ are mounted.”

I took a look at the daemonset spec, the k3s socket (/run/k3s/containerd/containerd.sock) is mounted on /run/containerd/containerd.sock, so it should talk with containerd without any problem. I tried to add --debug to the command argument but not very helpfull. What could cause this error ?
FYI, I tried an installation on rke1 and had the same error…

Best regards

I’m getting a similar error when installing in okd 4.9 with the px-cluster pods. Volumes are all there and appear to be mounted.

level=error msg=“Could not talk to Docker/Containerd/CRI: Could not determine my container ID: Container not found - please ensure ‘/var/run/docker.sock’, ‘/run/containerd/containerd.sock’ or ‘/var/run/crio/crio.sock’ are mounted.”

I would also like to report the same problem with OKD 4.9. Is there any solution for this problem yet?

Getting the same issue on Rocky Linux 8.5, Docker version 20.10.12, build e91ed57.
Cannot find the socket inside container, although it exists in the /var/run/ directory.

Still having this problem on an OKD 4.9 cluster with Portworx 2.10.

i have also verified that the socket is present in the container.

@ bsauvajon use the operator spec instead of daemonset. can you please post your install spec yaml file?