You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that is in expectation. Currently, chaos-daemon (in detail toda) would not remove the directory __chaosfs__<origin-name>__, but only umount from it, and it's enough to let the injected process be recovered from chaos experiment.
I think it could be an enhancement. Do you have interests to help us to make it? :D @alelerac
Bug Report
What version of Kubernetes are you using?
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-18T12:09:25Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"ec2760d6d916781de466541a6babb4309766c995", GitTreeState:"clean", BuildDate:"2021-02-27T17:18:03Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
What version of Chaos Mesh are you using?
Controller manager Version: version.Info{GitVersion:"v2.1.5", GitCommit:"42e2aaa590b4e738e069766aef062f6468ff81d4", BuildDate:"2022-04-18T09:44:56Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
What did you do?
Run below experiment.
apiVersion: chaos-mesh.org/v1alpha1
kind: IOChaos
metadata:
name: io-delay-zk
namespace: zk
spec:
action: latency
mode: one
selector:
labelSelectors:
"app": zk
"statefulset.kubernetes.io/pod-name": zk-0
volumePath: /var/lib/zookeeper/
delay: "100ms"
percent: 100
duration: "50s"
Then delete experiment with kubectl delete iochaos io-delay-zk -n zk
What did you expect to see?
Cleanup after experiment.
The created directory "chaosfs__zookeeper_" is removed
What did you see instead?
Directory "chaosfs__zookeeper" is not removed
ls -l /var/lib/
total 4
drwxr-xr-x 2 root root 6 May 3 14:49 chaosfs__zookeeper
drwxr-xr-x 1 root root 42 Jun 13 2017 apt
The text was updated successfully, but these errors were encountered: