chaos-charts icon indicating copy to clipboard operation
chaos-charts copied to clipboard

Disk Fill experiment failed with error "du: /diskfill/{containerId} no such file or directory"

Open xidian237 opened this issue 2 years ago • 1 comments

Hi expert, Disk Fill experiment failed when I tried to run the experiment on the cluster which runs the containerd container runtime.

time="2022-12-23T03:44:48Z" level=info msg="Helper Name: disk-fill"
time="2022-12-23T03:44:48Z" level=info msg="[PreReq]: Getting the ENV variables"
time="2022-12-23T03:44:48Z" level=info msg="container ID of nginx container, containerID: e15be7fdcc7442be032e1caf56d1e5bb41852bb07e395f2aaf88e5dd2588ff70"
time="2022-12-23T03:44:48Z" level=error msg="du: /diskfill/e15be7fdcc7442be032e1caf56d1e5bb41852bb07e395f2aaf88e5dd2588ff70: No such file or directory\n"
time="2022-12-23T03:44:48Z" level=fatal msg="helper pod failed, err: exit status 1"```

I have found some information from the litmus\mkdocs\docs\experiments\troubleshooting\experiments.md, so what is the correct CONTAINER_PATH env should I provide? Could you help to have a look? Thanks. image

Best Regards, Lin

xidian237 avatar Dec 28 '22 07:12 xidian237

@xidian237 I'm getting the same error message. I'm using openshift v4 which mainly supports only CRI-O runtime not docker. So I would recommend checking what your platform supports and update your container path accordingly.

rociomroman avatar Aug 28 '23 21:08 rociomroman