Skip to content

Contain Kill failing - Cannot connect to the Docker daemon #4066

Closed
@awalmsley

Description

@awalmsley

What happened:
Container Kill scenario failed, and the helper pod logs indicates could not connect to Docker daemon

kubectl logs container-kill-helper-bfxrpi
time="2023-07-03T16:55:05Z" level=info msg="Helper Name: container-kill"
time="2023-07-03T16:55:05Z" level=info msg="[PreReq]: Getting the ENV variables"
...
time="2023-07-03T16:55:05Z" level=fatal msg="helper pod failed, err: Unable to run command, err: exit status 1; error output: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?\n"

What you expected to happen:
Expected the container kill scenario to succeed.

Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible):
Deploy Litmus Chaos to an AWS EKS 1.25 cluster
Run a container kill

Anything else we need to know?:
This was working in AWS EKS 1.23, and I'm guessing it is related to the container runtime changing from Docker to containerd in EKS 1.24 https://repost.aws/questions/QU338cvx7RTCCh5tk54WOXqw/aws-eks-supported-container-runtimes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions